Commit graph

4032 commits

Author SHA1 Message Date
Dana Jansens
9d0864ce63 add focusLast and raiseOnFocus 2003-09-22 06:05:47 +00:00
Dana Jansens
d10c538373 visible is in the frame struct 2003-09-22 05:41:16 +00:00
Dana Jansens
27eb1a7736 ignore non-visible windows too 2003-09-22 05:38:44 +00:00
Dana Jansens
74f36c587c simplify the default bindings 2003-09-22 05:32:56 +00:00
Dana Jansens
87541ea377 s/Activate/Go there/ 2003-09-22 05:04:34 +00:00
Dana Jansens
fe7eefc131 whitespace 2003-09-22 04:56:13 +00:00
Dana Jansens
33d4cd8bfd gettextize the empty desktop string 2003-09-22 04:52:54 +00:00
Dana Jansens
4f3cffb847 change Switch To... to Activate... 2003-09-22 04:52:21 +00:00
Dana Jansens
a43303bdcb dont need to swallow enter events on ungrab cuz we just ignore them all now 2003-09-22 04:23:00 +00:00
Dana Jansens
d5f9df0845 provide a means to properly ignore enter events for focus changes 2003-09-22 04:18:54 +00:00
Dana Jansens
f595277f1c add back focusLast 2003-09-22 04:17:43 +00:00
Dana Jansens
f791f9a35e eat enter events on desktop switch so that our own policy can be applied 2003-09-22 04:16:02 +00:00
Dana Jansens
f68066aa63 we always want to start with something focused, moving this to openbox.c 2003-09-22 04:14:32 +00:00
Dana Jansens
8b5619d0ad add comment 2003-09-22 04:13:34 +00:00
Dana Jansens
2612dbf050 indenting 2003-09-22 03:37:22 +00:00
Dana Jansens
d9e08487df when ending actions which can move windows, and we were using the mouse, instead of doing a focus fallback, which instantly focuses, and doesn't raise, we do an event_enter_client which simulates the act of entering the window with the pointer 2003-09-21 21:26:07 +00:00
Dana Jansens
6538a5ccb2 move the code to find the window under the pointer out of focus.c to client.c 2003-09-21 21:25:23 +00:00
Dana Jansens
6675b28ded place so to avoid windows in layers above the window being placed! 2003-09-21 20:42:38 +00:00
Dana Jansens
1ad1e91e88 add glib.h include 2003-09-21 20:17:58 +00:00
Dana Jansens
b07194a7ae add raiseOnFocus option 2003-09-21 20:17:50 +00:00
Dana Jansens
fe3fbbf210 fix race condition in focus delay 2003-09-21 20:17:23 +00:00
Dana Jansens
eaf9c36c2e ignore ungrab enter notifies for focus 2003-09-21 19:42:01 +00:00
Dana Jansens
227d8b8511 pass the context to action_run_mouse 2003-09-21 19:39:06 +00:00
Dana Jansens
904327a0c8 grab the pointer before doing client actions more intelligently, i.e. only when using sloppy focus.
fallback focus after the action if the action was fired via a mouse binding, otherwise do not. this makes keyboard bindings not fuck with sloppy focus.
2003-09-21 19:38:57 +00:00
Dana Jansens
22bf54526c rename dock/himeTimeout to dock/hideDelay in the config file 2003-09-21 19:31:45 +00:00
Dana Jansens
38370b2e82 dont assert, just ignore client_unfocus() when the client isnt already focused 2003-09-21 18:43:11 +00:00
Dana Jansens
be79af11f6 dont save the appearance when reconfiguring!! that was a crash waiting to happen!!
also reset the border stuff on reconfigure
2003-09-21 18:19:11 +00:00
Dana Jansens
6c4126ec61 allow a number of enter events to be ignored. Don't just skip any enter/leave events as these are used for highlighting hover buttons and ignoring these makes the hover state out of sync sometimes 2003-09-21 18:10:39 +00:00
Dana Jansens
1b75005e0d count the EnterNotify events and tell openbox to ignore them when ungrabbing the pointer 2003-09-21 18:09:48 +00:00
Dana Jansens
a260db31a9 if the keyboard is grabbed then dont ungrab it! 2003-09-21 17:17:34 +00:00
Dana Jansens
32047fd66c export if the keyboard and pointer are currently grabbed or not 2003-09-21 17:17:19 +00:00
Dana Jansens
087ea0e5cb remove that shti 2003-09-21 17:17:00 +00:00
Dana Jansens
34bff2d255 whitespace 2003-09-21 17:12:59 +00:00
Dana Jansens
0aa7f70d91 export if an interactive grab is in progress 2003-09-21 17:12:22 +00:00
Dana Jansens
5f5160b40c dont drop out of dirfocus when there is no new target to be found 2003-09-21 17:03:17 +00:00
Dana Jansens
9960ef2ff9 use the new action_run symantics 2003-09-21 16:58:56 +00:00
Dana Jansens
ddb6bd4667 declare variables at the top of the blocks 2003-09-21 16:47:42 +00:00
Dana Jansens
0cceca2303 dont add null actions to the list 2003-09-21 16:42:15 +00:00
Dana Jansens
556a08cec8 use DESTDIR in install-data-hook 2003-09-20 13:53:38 +00:00
Dana Jansens
2033f09441 add the generated xml files 2003-09-19 20:02:33 +00:00
Dana Jansens
617bd951d6 smart xinerama placement for groups 2003-09-19 19:55:21 +00:00
Dana Jansens
b731e0e282 smart placement has a fallback for just groups now too 2003-09-19 19:34:42 +00:00
Dana Jansens
f3746e29a5 install the menu.xsd 2003-09-19 19:19:52 +00:00
Dana Jansens
86fa7c0966 add the schemas to the distribution 2003-09-19 19:17:26 +00:00
Dana Jansens
cdbd7ad985 look for sed 2003-09-19 19:16:56 +00:00
Dana Jansens
ba05275408 comment 2003-09-19 17:45:33 +00:00
Dana Jansens
e5908c3f89 use the new action ru system which always runs lists of actions instead of individual ones 2003-09-19 17:41:05 +00:00
Dana Jansens
77d8347234 const 2003-09-19 17:40:35 +00:00
Dana Jansens
44fd94ff51 only allow running lists of actions at a time, policy is to always allow multiple action bindings, so this enforces it, and at the same time, UngrabKeyboard() before firing actions if there are no interactive ones. This is needed for some execute's, namely gnome-panel-control --main-menu. 2003-09-19 17:40:26 +00:00
Dana Jansens
19e4820073 properly send resize events for when the app has requested the resize 2003-09-19 16:58:23 +00:00