From: Albert Safin Date: Thu, 6 Dec 2018 15:39:57 +0000 (+0700) Subject: Remove unnecessary code in route_click() X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=commitdiff_plain;h=0eb07dea5c99eb7c2c5a9635bbdef75f0c8631fb Remove unnecessary code in route_click() This case is handled by resize_find_tiling_participants() anyway which is introduced in the commit dbec5eb90585bc22752331f51d8a6bc90d21889c. --- 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))