Bugfix: Only ignore enter_notify events for the parent windows when in stacking
This commit is contained in:
parent
d8a6f41e39
commit
4fb4c579f8
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue