Commit graph

196 commits

Author SHA1 Message Date
Dana Jansens
084d6f4e42 some intermediate stage. stacked focus cycling is very broken. dont try it. going to have to change how the python stuff works i think! 2003-01-24 09:25:03 +00:00
Dana Jansens
91c7e5c378 allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released 2003-01-24 07:37:26 +00:00
Dana Jansens
747c089ae1 dont focus on A-Left 2003-01-24 05:44:09 +00:00
Dana Jansens
104c1a164b wrap around right for focus cycling 2003-01-23 23:18:05 +00:00
Dana Jansens
ff98438acc keep a list of clients in the order that they have been focused 2003-01-23 15:46:19 +00:00
Dana Jansens
38396b8a8d remove client_buttons 2003-01-23 15:32:58 +00:00
Dana Jansens
bb303c7404 use the proper screen area, which excludes area taken up by struts 2003-01-23 13:48:46 +00:00
Dana Jansens
ea902741e7 put this back mostly. 2003-01-23 13:00:58 +00:00
Dana Jansens
a9e39af4cd make A-1 mouse focus 2003-01-23 13:00:20 +00:00
Dana Jansens
64fd3c3419 those adds werent a mistake.. :P 2003-01-23 12:49:50 +00:00
Dana Jansens
18ab245307 cycling by any number of windows 2003-01-23 09:03:06 +00:00
Dana Jansens
707f70682a linear focus cycling 2003-01-23 09:01:40 +00:00
Dana Jansens
28b8f67562 remove the word "sticky" from everywhere, and replace with "all desktops". change the titlebar layout to use D instead of S for the all-desktops button 2003-01-23 05:20:13 +00:00
Dana Jansens
7b7ae097a0 make the 'toggle all desktops' button work 2003-01-23 04:49:42 +00:00
Dana Jansens
a1e6634a05 do good math 2003-01-17 07:25:11 +00:00
Dana Jansens
884ec58ccf use frame.size() 2003-01-17 07:17:26 +00:00
Dana Jansens
940247c3e5 make window placement not go off screen at all 2003-01-17 07:10:52 +00:00
Dana Jansens
d911b4b154 use the frame's area 2003-01-17 07:03:54 +00:00
Dana Jansens
a38a8f0bac add drag_threshold 2003-01-17 06:43:47 +00:00
Dana Jansens
af1ac846cc new raise/lower window code. only restacks 2 windows (1 move) at a time, ever. ManMower, u rulz. 2003-01-16 23:32:16 +00:00
Dana Jansens
5086347092 add a todo comment 2003-01-16 09:12:07 +00:00
Dana Jansens
d8aff44a6a redo otk::Property. make it static. 2003-01-16 08:44:52 +00:00
Dana Jansens
ffb237bf40 use the new global display var 2003-01-13 10:09:06 +00:00
Dana Jansens
de0706821d add number_of_desktops 2003-01-12 19:55:09 +00:00
Dana Jansens
fffcc1ee58 Middle lowers 2003-01-12 00:14:23 +00:00
Dana Jansens
157f6d5c8b s/OB// 2003-01-11 23:16:27 +00:00
Dana Jansens
87688e399c use new alias for mbuttons 2003-01-11 20:51:00 +00:00
Dana Jansens
fc7ec94f46 use new aliaes' for mbuttons 2003-01-11 20:50:47 +00:00
Dana Jansens
17ca0f5066 bind the exec properly 2003-01-10 22:54:59 +00:00
Dana Jansens
6f500e23e3 add an optional parameter to restart 2003-01-10 22:50:56 +00:00
Dana Jansens
8d52c2b114 change the default style to fieron2 2003-01-10 22:40:29 +00:00
Dana Jansens
151b6d4131 rm shit that didnt belong 2003-01-10 22:05:58 +00:00
Dana Jansens
cfead96bb3 some default bindings for if no user.py exists 2003-01-10 22:05:14 +00:00
Dana Jansens
5c752e66cf add defaults.py 2003-01-10 22:04:53 +00:00
Dana Jansens
6e41cef9bf reword comment a bit 2003-01-10 09:55:44 +00:00
Dana Jansens
1baea880f4 dont use a global var 2003-01-10 09:47:43 +00:00
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
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
b67f5e702e new python interface! using the .py shadow wrappers from swig 2003-01-10 03:11:48 +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
4c768d5d63 use client messages to switch desktops/move windows between desktops 2003-01-07 04:51:55 +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
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
07d835a044 no need for focusraise anymore 2003-01-06 19:02:09 +00:00
Dana Jansens
69c257faa9 add focusraise.
comment functions.
2003-01-04 18:48:09 +00:00
Dana Jansens
056ff3b50c better focus passing around for now 2003-01-04 08:41:42 +00:00
Dana Jansens
ee1130f8ec dont move/resize desktop windows or dock windows 2003-01-04 08:06:48 +00:00
Dana Jansens
abd445719b remove a print 2003-01-04 04:05:41 +00:00
Dana Jansens
5f34069a3c separate off execute, since its not a callback function 2003-01-04 02:34:58 +00:00
Dana Jansens
a84666e955 dont focus desktops and docks via enter events 2003-01-04 02:29:40 +00:00
Dana Jansens
0c96f0fc89 add desktop_names 2003-01-04 01:49:01 +00:00
Dana Jansens
7417e2b54e window shading 2003-01-03 23:51:06 +00:00
Dana Jansens
1455ab9c41 print when loaded 2003-01-03 22:25:52 +00:00
Dana Jansens
06388d73b7 restart works 2003-01-03 22:06:08 +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
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
a4a8d09f4b titlebar layouts work 2003-01-03 15:55:42 +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
165601550c provide these functions for callbacks 2003-01-03 06:43:53 +00:00
Dana Jansens
1965483b5a add builtins 2003-01-03 06:39:03 +00:00
Dana Jansens
808f11a6c9 got rid of premade funcs 2003-01-03 06:27:10 +00:00
Dana Jansens
ca3e463057 moving a window is possible once again 2003-01-03 05:26:04 +00:00
Dana Jansens
e05d5f7934 kill button release events 2003-01-02 22:58:32 +00:00
Dana Jansens
9823b821f5 no more gloabsl 2003-01-02 22:09:38 +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
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
098fa0ce20 revert def_motion 2002-12-31 09:14:27 +00:00
Dana Jansens
6a80c577b0 typo 2002-12-31 09:11:59 +00:00
Dana Jansens
30a962664b add comments/headers 2002-12-31 08:50:13 +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
8c2dfe5de4 deal with when nothing has focus anymore 2002-12-27 09:18:54 +00:00
Dana Jansens
30e4651787 dont seg on multiple root clicks! 2002-12-27 09:17:56 +00:00
Dana Jansens
656701140b code style fix 2002-12-27 09:07:22 +00:00
Dana Jansens
b2079b56e4 delete the rects 2002-12-27 09:06:10 +00:00
Dana Jansens
2c908c308d add enter/leave 2002-12-27 08:35:15 +00:00
Dana Jansens
e9ec2ce0eb some focus improvements.. 2002-12-26 19:55:55 +00:00
Dana Jansens
8c0fe026fe focus works 2002-12-26 18:15:23 +00:00
Dana Jansens
5029fc97c8 add newish stuff 2002-12-26 12:03:13 +00:00
Dana Jansens
2ae2b257d3 might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc. 2002-12-25 22:02:34 +00:00
Dana Jansens
0816364a03 handle mouse clicks in the python scripts now 2002-12-25 05:46:02 +00:00
Dana Jansens
b34824a4e2 global python scripts. client motion/resizing is all done via python now 2002-12-25 04:54:44 +00:00