From 0eb07dea5c99eb7c2c5a9635bbdef75f0c8631fb Mon Sep 17 00:00:00 2001 From: Albert Safin Date: Thu, 6 Dec 2018 22:39:57 +0700 Subject: [PATCH] Remove unnecessary code in route_click() This case is handled by resize_find_tiling_participants() anyway which is introduced in the commit dbec5eb90585bc22752331f51d8a6bc90d21889c. --- src/click.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/click.c b/src/click.c index 1218a4c2..58ebbf3d 100644 --- a/src/click.c +++ b/src/click.c @@ -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)) -- 2.39.5