Commit graph

1712 commits

Author SHA1 Message Date
Dana Jansens
93811226bb ignore much fewer focus events. only ignore focusout's from activating a grab 2003-01-08 09:10:34 +00:00
Dana Jansens
b8f89ee368 ignore focus events from grabs 2003-01-08 09:05:38 +00:00
Dana Jansens
d5cff9617c rm _focus, its no longer used 2003-01-08 08:43:41 +00:00
Dana Jansens
fade5572e3 handle focus events SOO much more simply. and it works. fuck yes. at last. i think i can rest. 2003-01-08 08:40:03 +00:00
Dana Jansens
bd748f7402 rework focus event handling. does it basically like ob2 did now. and it seems to work too :> 2003-01-08 07:41:17 +00:00
Dana Jansens
3b4d453f90 rm old debug printfs 2003-01-08 06:47:13 +00:00
Dana Jansens
9656d1e276 put unmanageWindow back how it used to be. no 'remap' argument 2003-01-08 06:46:21 +00:00
Dana Jansens
3489627803 add some comments
clean up the releasing of the client from the frame
2003-01-08 06:45:56 +00:00
Dana Jansens
7e41036491 rm old comment 2003-01-08 06:45:30 +00:00
Dana Jansens
6bad7e676a map the window if it was reparented, on release 2003-01-08 06:45:21 +00:00
Dana Jansens
f2fa99b33e make some funcs const, and don't try focus a client if it is not visible 2003-01-08 06:45:01 +00:00
Dana Jansens
889df8a74d clarify an incorrect comment, and make some funcs const 2003-01-08 06:44:23 +00:00
Dana Jansens
ada98dd585 *** empty log message *** 2003-01-08 06:41:47 +00:00
Dana Jansens
2a40cebfdc grab the server around key ungrab/grabs to prevent losing keys 2003-01-08 06:41:31 +00:00
Dana Jansens
9bfc977827 make focus work without races. 2003-01-08 05:26:49 +00:00
Dana Jansens
43c0dc42aa fix typo 2003-01-08 05:06:21 +00:00
Dana Jansens
bcc9f6812b stop compressing enter/leave events.. this might be responsible for the focu sfuckups? 2003-01-07 22:02:43 +00:00
Dana Jansens
0147a61f89 move a comment 2003-01-07 20:21:56 +00:00
Dana Jansens
cc36ecf2f2 don't reparent to root if the client has already reparented since unmapping 2003-01-07 20:21:42 +00:00
Dana Jansens
f11bd1b0cc better reparent handling, dont fux with the event stack.. 2003-01-07 20:20:14 +00:00
Dana Jansens
2ae5aaca65 rm old junk 2003-01-07 20:08:47 +00:00
Dana Jansens
1b13d34c1e i think im handling reparent events correctly now, by unmanaging the window and then XMapping the client 2003-01-07 20:06:29 +00:00
Dana Jansens
e5eb783aa2 ignore the right about of unmap notifies 2003-01-07 19:54:00 +00:00
Dana Jansens
a2de94e91e in synch mode, chew up 100% cpu, cuz we cant select on the display's fd 2003-01-07 19:24:38 +00:00
Dana Jansens
6062fe404c handle unmaps better. all thanks to acroread sending wacky unmap events 2003-01-07 09:30:00 +00:00
Dana Jansens
f1ce4e660f send config req's to the master too 2003-01-07 07:34:11 +00:00
Dana Jansens
19eb13679d abort() on X errors that aren't BadWindow errors 2003-01-07 07:24:39 +00:00
Dana Jansens
13f1f39f01 dont move frame if not frame exists while mapping 2003-01-07 07:05:39 +00:00
Dana Jansens
a132968424 don't place the window magically if we're starting (the window was already placed) 2003-01-07 06:56:57 +00:00
Dana Jansens
7990e6fc46 add a PlaceWindow event hook type 2003-01-07 06:50:21 +00:00
Dana Jansens
7ca4d1cf8a add a check for ShapeBounding shape events 2003-01-07 06:37:02 +00:00
Dana Jansens
6c3aec9e09 dont unset focused client if it is still/already set, that causes bugs! 2003-01-07 06:24:40 +00:00
Dana Jansens
dc532b7661 change the unmanae ordeer around to have the callbacks fire last 2003-01-07 05:48:12 +00:00
Dana Jansens
eccab56a6c fixed condition that could cause 2 windows to look focused, and bad things to occur 2003-01-07 05:21:12 +00:00
Dana Jansens
9d2ba8205c sending windows to workspaces works. focus messes up on fast switching 2003-01-07 05:17:39 +00:00
Dana Jansens
4c768d5d63 use client messages to switch desktops/move windows between desktops 2003-01-07 04:51:55 +00:00
Dana Jansens
85b0dc80cf add comment for findScreen 2003-01-07 04:06:34 +00:00
Dana Jansens
d833fb1ecc add python.hh to the openbox.i deps 2003-01-07 03:22:35 +00:00
Dana Jansens
ee0591bf39 comment the new desktop functions 2003-01-07 02:46:14 +00:00
Dana Jansens
130a1a2c71 add change_desktop 2003-01-07 02:44:54 +00:00
Dana Jansens
26bef30a57 add startup and shutdown callback events for each screen 2003-01-07 02:43:56 +00:00
Dana Jansens
66921633e5 add next/prev desktop, give them the no_wrap optional arg 2003-01-07 02:27:51 +00:00
Dana Jansens
711a7d8c56 supply python routines for next/prev workspace 2003-01-07 02:24:43 +00:00
Dana Jansens
d7cc09cebd dont hide windows when switching to the current workspace 2003-01-07 01:58:39 +00:00
Dana Jansens
7175ac2b5a windows stay on their desktops 2003-01-07 01:54:26 +00:00
Dana Jansens
f71a1fc7d2 grab SIGUSR1 2003-01-07 01:49:32 +00:00
Dana Jansens
3d8ffcc2cb dont reset focus to the unfocused window! 2003-01-07 01:28:59 +00:00
Dana Jansens
33ddfc7664 desktops 2003-01-07 00:59:41 +00:00
Dana Jansens
e9b48d2f1d move the shit from OBRootWindow into OBScreen 2003-01-07 00:57:26 +00:00
Dana Jansens
00e2c5aaad keep track of desktops... 2003-01-07 00:57:00 +00:00