dont count focusin on the support window to be a focusin on a client

This commit is contained in:
Dana Jansens 2007-05-13 05:51:08 +00:00
parent 41da12cc5e
commit f694c650c8

View file

@ -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) 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) static void print_focusevent(XEvent *e)