Commit graph

1375 commits

Author SHA1 Message Date
Dana Jansens
345d957e1e new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life. 2003-01-09 22:54:31 +00:00
Dana Jansens
b1739374a6 change what re-maprequest events do, just convert them to net_active_window messages. make net_active_window unshade/iconify 2003-01-09 04:26:32 +00:00
Dana Jansens
e2274e0f0a s/False/false 2003-01-09 03:53:26 +00:00
Dana Jansens
3814c4fbeb use default prefix.
better python library checks.
2003-01-09 03:43:06 +00:00
Dana Jansens
4e6e0b8d9b wrapper updates 2003-01-08 22:41:24 +00:00
Dana Jansens
9dd52dfcc3 make close() and shade() private. 2003-01-08 17:10:35 +00:00
Dana Jansens
ae0b364fce pass the right num of shit to the client msg 2003-01-08 17:10:00 +00:00
Dana Jansens
8db3dc33e8 close windows with netwm messages 2003-01-08 17:07:18 +00:00
Dana Jansens
0441661365 use client msg's to toggle shaded 2003-01-08 17:03:36 +00:00
Dana Jansens
cf6866123f add state_shaded
rm debug print's
2003-01-08 17:01:20 +00:00
Dana Jansens
cec568b076 state_above/below work now 2003-01-08 17:00:27 +00:00
Dana Jansens
368d981208 add a -single argument which only runs on a single screen 2003-01-08 16:29:39 +00:00
Dana Jansens
dbf58ef2b6 check for python errors a little better i think.. 2003-01-08 09:22:14 +00:00
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