Commit graph

887 commits

Author SHA1 Message Date
Dana Jansens
0b12453cf6 updated wrappers 2003-01-10 09:48:30 +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
d0c61ebfea dont need the otk initializer 2003-01-10 08:32:35 +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
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
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
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
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
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
43c0dc42aa fix typo 2003-01-08 05:06:21 +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
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
d833fb1ecc add python.hh to the openbox.i deps 2003-01-07 03:22:35 +00:00
Dana Jansens
26bef30a57 add startup and shutdown callback events for each screen 2003-01-07 02:43:56 +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
Dana Jansens
40449e199d allow to bind multiple functions to everything 2003-01-06 19:01:49 +00:00
Dana Jansens
a460f0bc48 add comments for rming masks from the events 2003-01-06 06:03:38 +00:00
Dana Jansens
dbf077a59a rm debugging comment 2003-01-06 04:58:07 +00:00
Dana Jansens
cc39863363 handle maprequests after mapped correctly. thus making gaim happy again 2003-01-06 04:57:42 +00:00
Dana Jansens
043822f6b6 grab the first known window type 2003-01-06 04:44:00 +00:00
Dana Jansens
1297c7c157 clean up transient's parent's reference in destructor 2003-01-06 04:33:37 +00:00
Dana Jansens
34cd50ec51 gets transients! woot. tested and such.. no groups still tho 2003-01-05 02:32:39 +00:00
Dana Jansens
a93f06f5b3 keep track of transients. however not group transients yet 2003-01-05 02:24:27 +00:00
Dana Jansens
c7b22b4f9c transient window support..halfway 2003-01-05 01:40:38 +00:00
Dana Jansens
b9a7f6fbcb SIGHIP not SUGHUP 2003-01-04 23:51:39 +00:00
Dana Jansens
eef665c6b8 only focus new 'normal' windows 2003-01-04 23:51:24 +00:00
Dana Jansens
180cdd0e91 dont restart on HUP. badness. restart on USR1. 2003-01-04 19:22:44 +00:00
Dana Jansens
a5df374fbd lameass comment from the past 2003-01-04 19:18:44 +00:00
Dana Jansens
cef2672ec8 restart on HUP 2003-01-04 19:18:30 +00:00
Dana Jansens
d13f021b8b add support for wm_window_role 2003-01-04 19:09:52 +00:00
Dana Jansens
fdb4e652f7 move the approproate code for map request handling to the client class. this will deiconify the window when requested. 2003-01-04 09:27:50 +00:00
Dana Jansens
aef2ab758d if a dock has the 'below' state set, then it goes in the normal window layer 2003-01-04 08:54:53 +00:00
Dana Jansens
9ec2da72a5 let the user set the above/below stacking layer easily 2003-01-04 08:50:30 +00:00
Dana Jansens
056ff3b50c better focus passing around for now 2003-01-04 08:41:42 +00:00
Dana Jansens
7bae794382 support net_wm_strut's! nothing to do with them yet however 2003-01-04 08:02:08 +00:00
Dana Jansens
58cd3958a3 decor and functions set set right for !normal windows 2003-01-04 07:36:29 +00:00
Dana Jansens
b02c91caad more ideas in comments 2003-01-04 07:26:57 +00:00
Dana Jansens
a6f5b33ad9 configure request optimizations 2003-01-04 07:24:40 +00:00
Dana Jansens
8735c12d96 shape works again. updating the delete_window protocol update the decor. 2003-01-04 07:04:23 +00:00
Dana Jansens
7ec03b895e move where transient shit will be 2003-01-04 06:47:47 +00:00
Dana Jansens
dd7af2419a use the correct size for buttons even when there is no iconify button in use. (oops) 2003-01-04 06:46:04 +00:00
Dana Jansens
de07cce07a update comment 2003-01-04 05:53:55 +00:00
Dana Jansens
5e5879a52b set the window's state so the hint always exists 2003-01-04 05:45:47 +00:00
Dana Jansens
bf404e092b make the frame window override-redirect 2003-01-04 05:18:33 +00:00
Dana Jansens
e3b50c2d13 kill the printf 2003-01-04 05:09:26 +00:00
Dana Jansens
c33ccf60cb make the frame window override-redirect 2003-01-04 04:49:53 +00:00
Dana Jansens
ed250c3b74 basedisplay!! GAH NO FUCK OFF!@!( 2003-01-04 02:57:47 +00:00
Dana Jansens
f1f4cf57af raise when focused with net_active_window message 2003-01-04 02:51:08 +00:00
Dana Jansens
d9e7a7b8cd shading works from epist 2003-01-04 02:49:43 +00:00
Dana Jansens
8d5bd29854 set desktop names on startup 2003-01-04 02:03:30 +00:00
Dana Jansens
1a879a4e3e desktopnames is supported already, just desktops arent :> 2003-01-04 01:41:54 +00:00
Dana Jansens
15d3efa69c epist alt-tab works now! i.e. NET_ACTIVE_WINDOW is working 2003-01-04 01:37:47 +00:00
Dana Jansens
06eb14fbeb better focusing. support for the take_focus protocol 2003-01-04 01:21:04 +00:00
Dana Jansens
4dd8520e92 set the net support atoms 2003-01-04 01:04:22 +00:00
Dana Jansens
fcb0820d94 add support for net_active_window and net_close_window messages 2003-01-04 00:54:19 +00:00
Dana Jansens
126d9fc846 client and stacking list work 2003-01-04 00:32:30 +00:00
Dana Jansens
f5f0a2c2ed add some todo shit 2003-01-04 00:21:14 +00:00
Dana Jansens
527697d6ae add -shadow 2003-01-04 00:12:21 +00:00
Dana Jansens
0ea5de6247 window states persist across restarts 2003-01-03 23:57:00 +00:00
Dana Jansens
7417e2b54e window shading 2003-01-03 23:51:06 +00:00
Dana Jansens
e6ae9e51f7 no default reset key 2003-01-03 22:34:50 +00:00
Dana Jansens
06388d73b7 restart works 2003-01-03 22:06:08 +00:00
Dana Jansens
a9a5f0d751 put event bindings in OBBindings too 2003-01-03 21:48:11 +00:00
Dana Jansens
a0350e27b3 allow "event bindings" via ebind() for new windows/window enter/leave 2003-01-03 21:36:09 +00:00
Dana Jansens
86a2bed659 remove the block on shutdown 2003-01-03 20:10:25 +00:00
Dana Jansens
4a07868e79 more old bb shit to go 2003-01-03 19:37:17 +00:00
Dana Jansens
f8ea576460 rm the old bb src 2003-01-03 19:36:41 +00:00
Dana Jansens
660ad41ca0 s/reset/resetChains/ 2003-01-03 18:51:00 +00:00
Dana Jansens
376ce0032e rm old bb shit, and the old xeventhandler 2003-01-03 18:41:49 +00:00
Dana Jansens
c89a13d5de binding_s_.hh 2003-01-03 18:37:58 +00:00
Dana Jansens
13f2930de7 share code for raising/lowering windows 2003-01-03 18:25:04 +00:00
Dana Jansens
89e6d5c0e6 add/lower work 2003-01-03 18:21:28 +00:00
Dana Jansens
105bd729e8 provide capabilities to execute a command 2003-01-03 16:06:10 +00:00
Dana Jansens
a4a8d09f4b titlebar layouts work 2003-01-03 15:55:42 +00:00
Dana Jansens
3a65ca613c run builtins.py 2003-01-03 07:04:30 +00:00
Dana Jansens
31e37b3e88 cleanup naming in OBBindings 2003-01-03 07:03:59 +00:00
Dana Jansens
7db3ffecc9 you can bind buttons already about, and itll replace them 2003-01-03 06:55:04 +00:00
Dana Jansens
7071b1f094 add comment 2003-01-03 06:07:53 +00:00
Dana Jansens
1c8090fa67 clicks on the client work as they should 2003-01-03 06:05:08 +00:00
Dana Jansens
ca3e463057 moving a window is possible once again 2003-01-03 05:26:04 +00:00
Dana Jansens
b35dae95a5 new mouse button code is seeming to work. you can move windows 2003-01-03 02:48:25 +00:00
Dana Jansens
579ed5aa8d trasitioning for new button event handling 2003-01-03 00:26:36 +00:00
Dana Jansens
4721c53868 typo 2003-01-02 23:34:58 +00:00
Dana Jansens
e05d5f7934 kill button release events 2003-01-02 22:58:32 +00:00
Dana Jansens
54da8e404b check for valid callback in bind() 2003-01-02 22:53:52 +00:00
Dana Jansens
14cf42ff07 run scripts before initializing screens. kill the globals.py. add the python_get_stringlist. 2003-01-02 21:05:29 +00:00
Dana Jansens
6d58d84f22 add new action types 2003-01-02 20:37:49 +00:00
Dana Jansens
66a26917a0 new code for bindings/callbacks. much sexier. now passes python classes back to the callbacks, and the storage of the callbacks in the code is much more clear. huzzah. 2003-01-02 20:36:14 +00:00
Dana Jansens
745e840547 load config options from the python environment 2002-12-31 19:15:24 +00:00
Dana Jansens
1161a90a70 add click_raise global var 2002-12-31 09:17:16 +00:00
Dana Jansens
f7e3eb5729 add some globals to modify the default scripting behavior 2002-12-31 08:46:17 +00:00
Dana Jansens
103372b02f create some globals for use in the python scripts 2002-12-31 07:19:32 +00:00
Dana Jansens
a6661d587c bindings work. now they have a reset key too. 2002-12-31 06:59:46 +00:00
Dana Jansens
d7a30f93b5 so close to keybindings. wont link for now. 2002-12-30 22:27:46 +00:00
Dana Jansens
db1fb534b8 bindings work again. yay 2002-12-30 21:10:13 +00:00
Dana Jansens
7e9fb9fb25 add a comment 2002-12-30 21:06:08 +00:00
Dana Jansens
390d447d9b add some const 2002-12-30 21:04:09 +00:00
Dana Jansens
5f8e2b75fa more debug output changes 2002-12-30 20:55:33 +00:00
Dana Jansens
40f3dfbaad still busted 2002-12-30 20:49:56 +00:00
Dana Jansens
509e6a8f43 fucked up shit 2002-12-30 20:41:33 +00:00
Dana Jansens
dabac4f740 i dont get how the fuck the key tree is changing.. 2002-12-30 16:50:29 +00:00
Dana Jansens
d4853f108c all broken now. working on adding mouse binding support 2002-12-30 16:42:15 +00:00
Dana Jansens
9bf9567283 put anticipated more-often-used modifier names in front 2002-12-30 09:00:28 +00:00
Dana Jansens
4e047f8b1c nicer translate() 2002-12-30 08:59:46 +00:00
Dana Jansens
d011a51039 way sexier buildtree 2002-12-30 08:52:46 +00:00
Dana Jansens
a826509b51 remove some old comments 2002-12-30 08:41:42 +00:00