Commit graph

924 commits

Author SHA1 Message Date
Dana Jansens
0223fed117 grab the mouse before any move/resizes in actions, preventing focus from moving when followMouse is on and the window moves/resizes out from under the pointer 2003-09-02 17:54:11 +00:00
Dana Jansens
67f9061a7a move the default menu to menu.xml 2003-09-02 17:46:37 +00:00
Dana Jansens
06fb4c7382 remove debug prints 2003-09-02 17:43:49 +00:00
Dana Jansens
2755cf85fc remove debug print 2003-09-02 07:58:27 +00:00
Dana Jansens
87342f85eb make the segfault swearing more clear 2003-09-02 07:57:47 +00:00
Dana Jansens
8420e47848 add comment about the new code in moveresize for size increment windows 2003-09-02 07:56:40 +00:00
Dana Jansens
78dfba0195 stop doing stupid shit for the size increments in client_configure, it belongs in the moveresize code. add it there. 2003-09-02 07:50:52 +00:00
Dana Jansens
5cac2437c2 separate window and screen snapping so only one or the other can be used 2003-09-02 07:50:09 +00:00
Dana Jansens
fa55dc4bb1 grow to edge is a move and a resize, oops 2003-09-02 05:34:04 +00:00
Dana Jansens
06252b3076 rename back the app_selected appearances to app_hilite 2003-09-01 16:37:21 +00:00
Dana Jansens
d20fecf576 this move is not final 2003-09-01 16:14:13 +00:00
Dana Jansens
416ee379ea make ob_expand_tilde expand all tildes in the string 2003-09-01 09:24:26 +00:00
Dana Jansens
ea94909334 couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
2003-09-01 07:12:58 +00:00
Dana Jansens
7f7378cc2b remove an old plugin call 2003-09-01 07:03:46 +00:00
Dana Jansens
f33bbca9e6 couple more xrdb theme format cleanups:
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor
2003-09-01 07:03:04 +00:00
Dana Jansens
5dafdaf285 dont crash when flashing a window when it goes away, remove the timer when dying 2003-09-01 04:30:59 +00:00
Dana Jansens
3ab0fc4814 flash when urgent 2003-09-01 03:42:44 +00:00
Dana Jansens
ed6f5152eb remove vibrate and flash actions 2003-09-01 03:42:23 +00:00
Dana Jansens
bd70fff6f9 improved frame flashing code, can start and stop it on command 2003-09-01 03:41:53 +00:00
Dana Jansens
169e64da2c remove the urgent actions 2003-09-01 03:41:14 +00:00
Dana Jansens
1b0a66dcff add flash action 2003-09-01 02:57:53 +00:00
Dana Jansens
0621e22932 add code to flash the frame 2003-09-01 02:57:19 +00:00
Dana Jansens
d7b4f1b126 make separators span the width of the entire menu 2003-09-01 02:30:12 +00:00
Dana Jansens
9d42df6ab4 add urgent actions
add some macros for moving/resizing clients
add 'vibrate' action
2003-09-01 02:02:40 +00:00
Dana Jansens
a1fdeedbf2 s/expand_tile/ob_expand_tilde/ 2003-09-01 01:11:15 +00:00
Dana Jansens
955dfabfed missing 'extern' for a bunch of vars 2003-09-01 01:10:07 +00:00
Dana Jansens
b543af60b3 move expand_tilde to ob_expand_tilde in openbox.c to make it global.
use it on the command read in the menu parsing for pipe menus.
use it on the command read for execute/restart actions.
2003-09-01 00:53:55 +00:00
Dana Jansens
43c5c01d33 parse all the menu files specified 2003-08-31 21:29:43 +00:00
Dana Jansens
8de54d2b45 oops, now is in the loop :> 2003-08-31 21:14:21 +00:00
Dana Jansens
5db556c541 get the current time when adding timers 2003-08-31 21:12:54 +00:00
Dana Jansens
854da68d0f add the DesktopLast action, props to marius nita for this one 2003-08-31 20:06:42 +00:00
Dana Jansens
030fabad14 remove debug print 2003-08-31 19:58:39 +00:00
Dana Jansens
ea2f33e9ee add a separator in the client-list-menus above iconic windows 2003-08-31 19:56:19 +00:00
Dana Jansens
7b06426b51 dont lose the menu selection while puttin the mouse over a separator (properly) 2003-08-31 19:54:34 +00:00
Dana Jansens
d298cfb786 compress events properly 2003-08-31 19:50:17 +00:00
Dana Jansens
49d58ec9ba only hide menus if theyre supposed to when executing 2003-08-31 18:58:10 +00:00
Dana Jansens
4ab212d0cd make directional focusing an interactive action 2003-08-31 18:54:26 +00:00
Dana Jansens
75c8bec464 make desktop cycling work properly when non-interactive 2003-08-31 18:53:23 +00:00
Dana Jansens
829a9fafd4 when no modifiers are in a binding, then make it non-interactive 2003-08-31 18:52:56 +00:00
Dana Jansens
0745e2ee0a make focus cycling work when not interactive
add focus_directional_cycle
2003-08-31 18:52:23 +00:00
Dana Jansens
89fb38e18d ungrab keys before grabbnig keys at the next chain level 2003-08-31 17:33:50 +00:00
Dana Jansens
4d9a46bec0 grab the pointer Async for key grabs, lets key bindings like <execute>xkill</execute> work 2003-08-31 17:32:28 +00:00
Dana Jansens
a991c07bc1 draw menu separators 2003-08-31 17:04:23 +00:00
Dana Jansens
02045b14d6 kill a warning 2003-08-31 16:39:53 +00:00
Dana Jansens
3e4495c4c8 move_onscreen was supposed to go away.. :) thanks mikachu 2003-08-31 06:55:14 +00:00
Dana Jansens
e10b4aacc3 add masks from the titlebar buttons to the client menu's options 2003-08-30 19:03:29 +00:00
Dana Jansens
5d4cbbc674 add suppot for showing pixmap masks in menus where the rgba icons go too 2003-08-30 19:03:06 +00:00
Dana Jansens
0185445e3a use the nwe theme's show_handle value 2003-08-30 19:02:48 +00:00
Dana Jansens
6de84db80d compress motion events 2003-08-30 18:59:44 +00:00
Dana Jansens
6486ba2cd5 add padding in the menu title too 2003-08-30 18:16:36 +00:00
Dana Jansens
8e76e32863 add destructor functions for clients that you acn subscribe with, and use these instead of hardcoding special cases in the unmanage code 2003-08-30 17:46:23 +00:00
Dana Jansens
2c6c0757fa make interactive actions a type and not special cases.
add the <interactive> option to them to turn off interactivity
2003-08-30 16:58:30 +00:00
Dana Jansens
009685bc46 remove debug print 2003-08-30 07:20:45 +00:00
Dana Jansens
de4f92ccc6 using the ObMainLoop, which rulz the planet 2003-08-30 07:20:16 +00:00
Dana Jansens
c3b02749d7 add pipe-menus 2003-08-30 05:15:12 +00:00
Dana Jansens
3ff8eb037e fix grabbing and not releasing with menus 2003-08-30 05:04:08 +00:00
Dana Jansens
8a1e9c64d8 dont ungrab twice when hiding menus 2003-08-29 17:17:07 +00:00
Dana Jansens
53134db127 properly select the first menu item in the child menu when using the 'right' keycode 2003-08-29 08:52:12 +00:00
Dana Jansens
09f4a0c51a dont keyboard nav onto disabled menu items 2003-08-29 08:51:05 +00:00
Dana Jansens
7317d17c76 missing break would be bad in future if added more cases 2003-08-29 08:49:41 +00:00
Dana Jansens
dcdc325f5c ultra-keyboard-controlled-menus 2003-08-29 08:44:55 +00:00
Dana Jansens
43fded6a10 fix includes 2003-08-29 08:44:40 +00:00
Dana Jansens
2a79db164c remove the plugin stuffs 2003-08-29 07:58:03 +00:00
Dana Jansens
6f9cea86f5 remove a dispatch.h 2003-08-29 07:57:34 +00:00
Dana Jansens
485fbff15d remove plugins from the menu parsing 2003-08-29 07:57:18 +00:00
Dana Jansens
a9567a8163 move the client and client-list menus into the 'kernel' 2003-08-29 07:56:49 +00:00
Dana Jansens
3c5f6db04c remove the event dispatcher 2003-08-29 06:52:55 +00:00
Dana Jansens
0b4cd7a0cf typo, reading from the wrong member of the actiondata union 2003-08-29 06:48:32 +00:00
Dana Jansens
5e06be6abb add window placement routines to the kernel 2003-08-29 06:40:35 +00:00
Dana Jansens
db4b0e6270 place submenus with their borders over the parent's 2003-08-29 05:49:30 +00:00
Dana Jansens
700e551390 fix a bunch of memleaks from valgrind and stuff 2003-08-28 19:10:36 +00:00
Dana Jansens
d911fbf44c only execute enabled items 2003-08-28 18:34:06 +00:00
Dana Jansens
ec9dd7fdd7 new method for loading menu files etc 2003-08-28 17:32:49 +00:00
Dana Jansens
fb035e4b0f fix crash bug is parsing menu section of the rc3 2003-08-28 17:27:13 +00:00
Dana Jansens
5c63aaa9ae missed one thing, using invalid mem still 2003-08-28 17:22:10 +00:00
Dana Jansens
9e85e930da fix for using freed memory to exec stuff 2003-08-28 17:15:10 +00:00
Dana Jansens
5efc7236a6 free the menu entry frames 2003-08-28 17:05:44 +00:00
Dana Jansens
60fa05f70c rm double ;; 2003-08-28 08:15:45 +00:00
Dana Jansens
15386e86d4 add icons to the client-list-menu 2003-08-28 08:08:18 +00:00
Dana Jansens
c34915ae8d make submenus not require the menu to exist when they are created, not until they are shown.
crash fix in client_menu
2003-08-28 07:49:57 +00:00
Dana Jansens
f7eb47dba4 make client-list-menu work too
more menu cleanups
2003-08-28 07:34:03 +00:00
Dana Jansens
ffba11aeb0 load menu plugins automatically from whats in the menu file
menu fixups
move enabled into the 'normal menu item' specific data stuff
2003-08-28 06:32:27 +00:00
Dana Jansens
615cbd9607 change the menu plugin interface, no need for the create/destroy functions any more.
redo the client-menu plugin to work with the new menu api
2003-08-28 05:44:13 +00:00
Dana Jansens
9290376bbb add follow option back for sendto actions 2003-08-28 05:43:05 +00:00
Dana Jansens
c34ef4028e half way through the changes to new menu code/design. hot shit. static menus work, on to plugins next. 2003-08-28 02:10:23 +00:00
Dana Jansens
cadab91e52 oooops RECT_SET_POINT was broken 2003-08-27 23:16:06 +00:00
Dana Jansens
56cc3dc663 more typo :) 2003-08-27 18:53:25 +00:00
Dana Jansens
d075ca0993 typo :) 2003-08-27 18:52:15 +00:00
Dana Jansens
a32c2c125c dont be rude to non-normal windows with keeping them onscreen 2003-08-27 18:50:12 +00:00
Dana Jansens
9a0c31797a fix border on shaded maximized windows 2003-08-27 18:38:36 +00:00
Dana Jansens
8173509e90 double deref, props to 'mmj' for spotting this 2003-08-27 05:20:27 +00:00
Dana Jansens
fdfaa0c8dd remove the last of the cool stuff thanks to GTK fuck fuck. no more not focusing windows in groups that arent focused on map 2003-08-25 18:40:00 +00:00
Dana Jansens
8251308845 blef 2003-08-25 15:29:40 +00:00
Dana Jansens
507e7ac875 type change 2003-08-25 15:29:18 +00:00
Dana Jansens
1a94524b08 make --disable-session-management work i think 2003-08-25 15:28:32 +00:00
Dana Jansens
dcb5a38fdb dont force fallbacks within groups 2003-08-25 08:57:09 +00:00
Dana Jansens
5186d04c61 better handling of maximizing, wrt changing decorations on the windows, and showing the correct decor for the max state especially for windows which dont change size (Xnest) when maximized cuz they are at their maximum size already 2003-08-25 08:49:48 +00:00
Dana Jansens
584656d96a add STRUT_EQUAL 2003-08-25 08:37:29 +00:00
Dana Jansens
7e7efa5c1a set the client decorations to match the frame's so that there is not thot to be changes later on whene there were actually none 2003-08-25 08:37:23 +00:00
Dana Jansens
0964b804a1 restore the stacking order of a saved session 2003-08-25 07:48:28 +00:00