]> git.sur5r.net Git - i3/i3/blobdiff - src/click.c
Remove unnecessary code in route_click()
[i3/i3] / src / click.c
index 1218a4c21be5864517224fc063d61f71aefc8da2..58ebbf3d851053330dafe1bab389f36d93d518e5 100644 (file)
@@ -302,12 +302,6 @@ static int route_click(Con *con, xcb_button_press_event_t *event, const bool mod
         goto done;
     }
 
-    if (in_stacked) {
-        /* for stacked/tabbed cons, the resizing applies to the parent
-         * container */
-        con = con->parent;
-    }
-
     /* 7: floating modifier pressed, initiate a resize */
     if (dest == CLICK_INSIDE && mod_pressed && event->detail == XCB_BUTTON_CLICK_RIGHT) {
         if (floating_mod_on_tiled_client(con, event))