Allow hovering over the window decoration to change the focus if the parent container is split horizontally or vertically.
fixes #1056
This commit is contained in:
parent
1454975981
commit
3c11f27201
@ -228,7 +228,7 @@ static void handle_motion_notify(xcb_motion_notify_event_t *event) {
|
|||||||
if (config.disable_focus_follows_mouse)
|
if (config.disable_focus_follows_mouse)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (con->layout != L_DEFAULT)
|
if (con->layout != L_DEFAULT && con->layout != L_SPLITV && con->layout != L_SPLITH)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* see over which rect the user is */
|
/* 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);
|
x_push_changes(croot);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user