Allow hovering over the window decoration to change the focus if the parent container is split horizontally or vertically.

fixes #1056
next
Ingo Bürk 2015-05-29 20:28:24 +02:00
parent 1454975981
commit 3c11f27201
1 changed files with 1 additions and 3 deletions

View File

@ -228,7 +228,7 @@ static void handle_motion_notify(xcb_motion_notify_event_t *event) {
if (config.disable_focus_follows_mouse)
return;
if (con->layout != L_DEFAULT)
if (con->layout != L_DEFAULT && con->layout != L_SPLITV && con->layout != L_SPLITH)
return;
/* see over which rect the user is */
@ -245,8 +245,6 @@ static void handle_motion_notify(xcb_motion_notify_event_t *event) {
x_push_changes(croot);
return;
}
return;
}
/*