diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-13 05:51:08 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-13 05:51:08 +0000 |
| commit | f694c650c83a7c29324debf3ac35d5e0c3abd84e (patch) | |
| tree | 021bda83daab5ba17d812b5cfe3afd69ac037322 /openbox | |
| parent | 41da12cc5ee1fa03361943dc1ab3e9efcebd29f6 (diff) | |
dont count focusin on the support window to be a focusin on a client
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index 699dfdd1..ead80a1f 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -363,7 +363,8 @@ static Bool look_for_focusin(Display *d, XEvent *e, XPointer arg) static Bool look_for_focusin_client(Display *d, XEvent *e, XPointer arg) { - return e->type == FocusIn && wanted_focusevent(e, TRUE); + return e->type == FocusIn && wanted_focusevent(e, TRUE) && + e->xfocus.window != screen_support_win; } static void print_focusevent(XEvent *e) |
