From: Ingo Bürk Date: Fri, 29 May 2015 18:28:24 +0000 (+0200) Subject: Allow hovering over the window decoration to change the focus if the parent container... X-Git-Tag: 4.11~101^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3c11f27201b1b4e79ee590f0b89bedc694a60b8e;p=i3%2Fi3 Allow hovering over the window decoration to change the focus if the parent container is split horizontally or vertically. fixes #1056 --- diff --git a/src/handlers.c b/src/handlers.c index e7dde581..c6d3e81d 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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; } /*