]> git.sur5r.net Git - i3/i3/blobdiff - src/click.c
Merge pull request #3372 from orestisf1993/direction
[i3/i3] / src / click.c
index c2b38d4dd69d1ebfe5774e223df1ccb88e02d12a..81e95dfabfcf5c4f2a6a490b6dfcf919ddb7a699 100644 (file)
@@ -235,6 +235,7 @@ static int route_click(Con *con, xcb_button_press_event_t *event, const bool mod
          * container the user scrolled on. */
         Con *focused = con->parent;
         focused = TAILQ_FIRST(&(focused->focus_head));
+        con_activate(con_descend_focused(focused));
         /* To prevent scrolling from going outside the container (see ticket
          * #557), we first check if scrolling is possible at all. */
         bool scroll_prev_possible = (TAILQ_PREV(focused, nodes_head, nodes) != NULL);