Commit graph

1545 commits

Author SHA1 Message Date
Dana Jansens
05039de135 add setup_fallback_focus() to handle focus when nothing is left focused 2003-01-10 09:44:59 +00:00
Dana Jansens
52e881dc99 add the random window placement algo 2003-01-10 09:38:51 +00:00
Dana Jansens
fa34e01dae add a few functions for setting up default mouse behaviors 2003-01-10 09:32:58 +00:00
Dana Jansens
007e17d32b dont define the 'display' global 2003-01-10 08:54:09 +00:00
Dana Jansens
558b55b0c3 add OBDisplay_display() 2003-01-10 08:52:43 +00:00
Dana Jansens
69f38b9f55 undefine the scriptdir, thats not where otk.py will be going 2003-01-10 08:36:01 +00:00
Dana Jansens
ec6951c2c7 dont build the otk wrappers for now 2003-01-10 08:32:51 +00:00
Dana Jansens
d0c61ebfea dont need the otk initializer 2003-01-10 08:32:35 +00:00
Dana Jansens
26d95a5286 dont install otk.py for now 2003-01-10 07:49:57 +00:00
Dana Jansens
88b7de4aaa the openbox module has to include shit from otk that it uses, swigs shit doesnt work across modules in the shadow wrappers 2003-01-10 07:43:42 +00:00
Dana Jansens
623de3b0ee rm printf 2003-01-10 07:40:32 +00:00
Dana Jansens
6d6082dc7d add some comments to the procedure 2003-01-10 06:43:52 +00:00
Dana Jansens
678bb52123 stop including otk in the openbox module. makes the wm hooger for no good cause. simply import all the otk shit. add otk.hh 2003-01-10 06:40:31 +00:00
Dana Jansens
a6f1d6b82f add a header for including everything for otk 2003-01-10 06:34:57 +00:00
Dana Jansens
c8e246f8de include the all otk stuff into the openbox python module. rename widget.hh to stop conflicting with the one in otk/ 2003-01-10 06:16:42 +00:00
Dana Jansens
e0878c9fc2 typosnsuch 2003-01-10 03:15:50 +00:00
Dana Jansens
915b171bef install the shadow wrappers 2003-01-10 03:15:11 +00:00
Dana Jansens
385de86d90 add the shadow class wrappers 2003-01-10 03:12:42 +00:00
Dana Jansens
b67f5e702e new python interface! using the .py shadow wrappers from swig 2003-01-10 03:11:48 +00:00
Dana Jansens
0d00827947 include point and rect from otk so that they can have objects returned instead of strings 2003-01-10 03:10:18 +00:00
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