Bugfix: don’t update focus when moving mouse over stacked/tabbed decorations (Thanks fernandotcl)

This commit is contained in:
Michael Stapelberg 2010-11-28 21:07:08 +01:00
parent 61e3415ddc
commit 49308d5026
1 changed files with 3 additions and 0 deletions

View File

@ -263,6 +263,9 @@ int handle_motion_notify(void *ignored, xcb_connection_t *conn, xcb_motion_notif
return 1; return 1;
} }
if (con->layout != L_DEFAULT)
return 1;
/* see over which rect the user is */ /* see over which rect the user is */
Con *current; Con *current;
TAILQ_FOREACH(current, &(con->nodes_head), nodes) { TAILQ_FOREACH(current, &(con->nodes_head), nodes) {