]> git.sur5r.net Git - i3/i3/commitdiff
Allow hovering over the window decoration to change the focus if the parent container...
authorIngo Bürk <ingo.buerk@tngtech.com>
Fri, 29 May 2015 18:28:24 +0000 (20:28 +0200)
committerIngo Bürk <ingo.buerk@tngtech.com>
Fri, 29 May 2015 21:49:37 +0000 (23:49 +0200)
fixes #1056

src/handlers.c

index e7dde581d08e2e73ae7338edee86ab39704dfd02..c6d3e81d8433bee1387db8e719a28757ac44883a 100644 (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;
 }
 
 /*