Commit graph

196 commits

Author SHA1 Message Date
Dana Jansens
75a5004d40 rm builtins.py 2003-02-01 13:06:54 +00:00
Dana Jansens
6d1c4110b6 indent right 2003-02-01 12:01:24 +00:00
Dana Jansens
d0c90fcc60 dont let you ignore requested positions for !normal windows 2003-02-01 11:59:28 +00:00
Dana Jansens
5d672875d4 add cascade placement 2003-02-01 11:54:38 +00:00
Dana Jansens
dbfdd0fefb scroll workspaces on root without alt 2003-02-01 11:46:18 +00:00
Dana Jansens
e390e27756 use the windowmanagement ignore option 2003-02-01 11:41:49 +00:00
Dana Jansens
ccef030845 allow random placement to override window placements 2003-02-01 11:41:10 +00:00
Dana Jansens
9fb4c0b67c use history place by default 2003-02-01 11:21:14 +00:00
Dana Jansens
28a08b7d68 allow a callback to determine if a window should be history-placed 2003-02-01 11:04:46 +00:00
Dana Jansens
41a03629c9 better historyplacement 2003-02-01 10:36:34 +00:00
Dana Jansens
e1e5293ae3 historyplacement!! 2003-02-01 10:03:29 +00:00
Dana Jansens
3cca07840b maximizing without bugs! can it be? i think so! 2003-02-01 05:49:21 +00:00
Dana Jansens
2a2f4306f8 maximizing! 2003-02-01 05:26:06 +00:00
Dana Jansens
45972ed548 update to new interface for toggle all desktops. use the new values for state_ calls. 2003-02-01 00:25:31 +00:00
Dana Jansens
4a79f7c439 no options for the callbacls 2003-01-31 23:54:18 +00:00
Dana Jansens
d11291df3e doc the state functions better 2003-01-31 23:54:05 +00:00
Dana Jansens
05aad313ee doc the functions at the top 2003-01-31 06:00:30 +00:00
Dana Jansens
f32ddbbf62 use fitString to size the move coords box 2003-01-30 23:33:53 +00:00
Dana Jansens
9c0ef03876 break out _focusable() function to make the test if a window can be focused reusable code 2003-01-30 23:14:18 +00:00
Dana Jansens
2d6698683a add functions to set the skipTaskbar/Pager state 2003-01-30 22:58:54 +00:00
Dana Jansens
8934a553dc formatting of comment 2003-01-30 22:56:41 +00:00
Dana Jansens
e0c8eae048 typos 2003-01-30 22:56:31 +00:00
Dana Jansens
027e974efd let you optionally avoid focusing windows which have specified to not be displayed in taskbars 2003-01-30 22:55:45 +00:00
Dana Jansens
1d94cd5277 don't put windows in the focus cycling list if they are set to not show up in the taskbar 2003-01-30 22:41:05 +00:00
Dana Jansens
04c16882fa focus windows on all desktops too 2003-01-30 22:15:46 +00:00
Dana Jansens
a0389d0cd6 dont fux up the _dx and _dy for resizing 2003-01-30 22:02:24 +00:00
Dana Jansens
c0446bba1f rm debug prints 2003-01-30 21:39:36 +00:00
Dana Jansens
f7a0eb7624 grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button 2003-01-30 21:39:12 +00:00
Dana Jansens
3409b046a0 add motion.py, which provides funtions for moving/resizing a window interactively 2003-01-30 21:15:29 +00:00
Dana Jansens
bb6ac36d41 working popups for moving/resizing 2003-01-30 21:11:04 +00:00
Dana Jansens
225d4302d0 popups for moving and resizing 2003-01-30 20:51:41 +00:00
Dana Jansens
705d70b053 remove debug print 2003-01-30 02:07:26 +00:00
Dana Jansens
f4c91c54b5 missing a ) 2003-01-30 00:04:29 +00:00
Dana Jansens
a692d5c4e1 check if the client wants focus before adding to list 2003-01-30 00:03:45 +00:00
Dana Jansens
ef0e907efd add windows on all-desktops to the cycle list 2003-01-29 23:46:17 +00:00
Dana Jansens
3e889e72f5 adjust default click-focus model a bit 2003-01-29 09:56:57 +00:00
Dana Jansens
58dc93abb9 make default focus model click-focus.
make middle-click focus the window
2003-01-29 08:51:17 +00:00
Dana Jansens
0268365304 destroy the list before ungrabbing 2003-01-29 00:44:41 +00:00
Dana Jansens
3ec33ffba5 handle weird cases where theres no more focused windows left gracefully (switching desktops) 2003-01-28 06:45:25 +00:00
Dana Jansens
2a36b90eb0 add docs 2003-01-28 05:57:58 +00:00
Dana Jansens
5559780c26 add comments at the top for the functions 2003-01-28 05:56:38 +00:00
Dana Jansens
98a131603c stacked_cycle_popup_list done 2003-01-28 05:38:32 +00:00
Dana Jansens
289e5e747e fix bug in python when rming window while cycling 2003-01-28 05:30:12 +00:00
Dana Jansens
3fa43bafc3 titlebar focus in the background of the popuplist 2003-01-28 05:01:39 +00:00
Dana Jansens
5e24320bca add margins, and limit title lengths 2003-01-28 05:00:39 +00:00
Dana Jansens
ff0f2bd335 focus cycling list 2003-01-28 04:53:10 +00:00
Dana Jansens
5face4c6f3 use otk objects in the ob scripts by importing otk 2003-01-27 13:42:41 +00:00
Dana Jansens
5168a8add5 new scripts for new script structure 2003-01-26 03:45:24 +00:00
Dana Jansens
be18a7c32e add alt-tab to the default bindings 2003-01-25 16:40:26 +00:00
Dana Jansens
997f94cf86 new/better/cleaner scripting interface 2003-01-25 16:36:55 +00:00
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