From: Michael Stapelberg Date: Sat, 28 Feb 2009 00:19:50 +0000 (+0100) Subject: Bugfix: Only ignore enter_notify events for the parent windows when in stacking X-Git-Tag: 3.a~141 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4fb4c579f8e2642db15fca6a77999e0d56e8dd6a;p=i3%2Fi3 Bugfix: Only ignore enter_notify events for the parent windows when in stacking --- diff --git a/src/handlers.c b/src/handlers.c index 2a390c05..4ee50626 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -110,8 +110,9 @@ int handle_enter_notify(void *ignored, xcb_connection_t *conn, xcb_enter_notify_ return 1; } - /* When in stacking, enter notifications are ignored. Focus will be changed via keyboard only. */ - if (client->container->mode == MODE_STACK) + /* When in stacking, enter notifications on the parent are ignored. Focus will be changed via keyboard only. */ + if (client->container->mode == MODE_STACK && + client == table_get(byParent, event->event)) return 1; set_focus(conn, client);