projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
29d595b
)
Move focus to a window when the mouse enters a window during a pointer grab, if using...
author
Dana Jansens
<danakj@orodu.net>
Sat, 16 Oct 2010 22:51:09 +0000
(18:51 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 24 Jan 2011 19:19:23 +0000
(14:19 -0500)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
b39660a
..
ecd20f9
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1103,7
+1103,9
@@
static void event_handle_client(ObClient *client, XEvent *e)
if (grab_on_keyboard())
break;
if (e->xcrossing.mode == NotifyGrab ||
- e->xcrossing.mode == NotifyUngrab ||
+ (e->xcrossing.mode == NotifyUngrab &&
+ /* ungrab enters are used when _under_ mouse is being used */
+ !(config_focus_follow && config_focus_under_mouse)) ||
/*ignore enters when we're already in the window */
e->xcrossing.detail == NotifyInferior)
{