Commit graph

242 commits

Author SHA1 Message Date
Dana Jansens
69d12b5ee2 use a focuslabel 2003-02-05 07:29:24 +00:00
Dana Jansens
833276412e cleaner syntax 2003-02-04 12:44:03 +00:00
Dana Jansens
cc050a4ec8 oops, missing a data. 2003-02-04 12:40:12 +00:00
Dana Jansens
7d66a2a42b add some safety checks 2003-02-04 12:10:19 +00:00
Dana Jansens
cb5eb0d560 store pointers instead of window id's. this lets us use them directly instead of having to look them all up all the time. this is possible now because we watch for new/close window events. 2003-02-04 11:44:48 +00:00
Dana Jansens
dddac55480 remove quotes from comment 2003-02-04 11:10:42 +00:00
Dana Jansens
21e9453c15 add more comment 2003-02-04 11:10:12 +00:00
Dana Jansens
8ee2603a61 add a comment 2003-02-04 11:08:40 +00:00
Dana Jansens
ffe214dc4d missed some "'s 2003-02-04 11:05:34 +00:00
Dana Jansens
02b63185a2 missed one capitalization 2003-02-04 11:04:51 +00:00
Dana Jansens
220b5c40f9 make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible. 2003-02-04 11:03:57 +00:00
Dana Jansens
7e3a0b227c don't raise the window when reverting from Escape 2003-02-04 10:36:17 +00:00
Dana Jansens
9ae12978f4 simple possible bugfix? meh 2003-02-04 10:34:20 +00:00
Dana Jansens
c0b0c00408 keep iconic windows at the bottom of the cycling list always 2003-02-04 10:32:49 +00:00
Dana Jansens
b001e857fc watch for when theres no clients and avoid exceptions, just don't do shit all 2003-02-04 10:19:59 +00:00
Dana Jansens
77ba370207 better comment 2003-02-04 09:37:11 +00:00
Dana Jansens
7c8fa47e01 add commented stuff for doing linear cycling 2003-02-04 09:36:42 +00:00
Dana Jansens
8a05ae261d split out the linear cycling into focuscycle.py.
some better comments about what options can be used.
2003-02-04 09:34:17 +00:00
Dana Jansens
00978e674a wrong scoping 2003-02-04 09:10:09 +00:00
Dana Jansens
106883eedf force a binding with a modifier 2003-02-04 09:03:48 +00:00
Dana Jansens
741aecf842 make Escape abort cycling 2003-02-04 09:01:38 +00:00
Dana Jansens
a04d9fc256 add comments 2003-02-04 08:58:00 +00:00
Dana Jansens
84dfca1c30 remove debug prints 2003-02-04 08:53:14 +00:00
Dana Jansens
51a41b9b76 all new stacked cycling code. so much sexy.
add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.
2003-02-04 08:51:47 +00:00
Dana Jansens
981876ca64 remove prints 2003-02-04 02:59:50 +00:00
Dana Jansens
4ddb8181c2 make this focus shit not buggy again.. 2003-02-04 00:45:27 +00:00
Dana Jansens
046df3e746 update the client list's order after doing a stacked cycle 2003-02-03 22:05:12 +00:00
Dana Jansens
f06b944933 Client::move moves the client to the position so that its *frame* will be at the given coordinates 2003-02-03 04:51:10 +00:00
Dana Jansens
20ca827039 rm a print 2003-02-03 04:20:34 +00:00
Dana Jansens
a0c28724cc just a comment fix 2003-02-03 04:15:47 +00:00
Dana Jansens
ba87284397 move windows based on their *frame* not the client 2003-02-03 03:04:31 +00:00
Dana Jansens
8332db5880 dont snap back, properly 2003-02-03 01:59:32 +00:00
Dana Jansens
fcfda5345e dont snap back onto the screen for resistance 2003-02-03 01:31:01 +00:00
Dana Jansens
96a949ec1f off-by-one 2003-02-02 23:57:49 +00:00
Dana Jansens
4d4e17d102 to the bottom 2003-02-02 23:51:40 +00:00
Dana Jansens
1814947e47 move restart and exit to the top 2003-02-02 23:51:30 +00:00
Dana Jansens
95a11f3553 make restart's parameter optional 2003-02-02 23:51:04 +00:00
Dana Jansens
da0c7355d1 change the default edge resistance 2003-02-02 23:47:19 +00:00
Dana Jansens
de4a388a93 show the resize coords after moving them 2003-02-02 23:25:18 +00:00
Dana Jansens
6eae9223a1 show the widget after moving it 2003-02-02 23:24:44 +00:00
Dana Jansens
fd96ddd82e add a snap variable.. 2003-02-02 23:21:57 +00:00
Dana Jansens
a527c30f11 formatting 2003-02-02 23:20:38 +00:00
Dana Jansens
c2527df85a make the param optional 2003-02-02 23:02:51 +00:00
Dana Jansens
b9ac2d30cf add an exit callback 2003-02-02 23:02:22 +00:00
Dana Jansens
f1c0beee3e make ignoring optional only for history placement 2003-02-02 22:27:51 +00:00
Dana Jansens
5beb28df2d add comments 2003-02-01 13:13:04 +00:00
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