From cf2e0c1d70a019b1180f53017637a26bdf9fd6c3 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Wed, 25 Mar 2020 15:23:14 +0100 Subject: [PATCH] dragcfact - if the window is floating, then fall back to resizing the window rather than doing nothing, #19 --- patch/dragcfact.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/patch/dragcfact.c b/patch/dragcfact.c index 205b12a..98e2e31 100644 --- a/patch/dragcfact.c +++ b/patch/dragcfact.c @@ -9,8 +9,10 @@ dragcfact(const Arg *arg) if (!(c = selmon->sel)) return; - if (c->isfloating) /* no support rezising floating windows */ + if (c->isfloating) { + resizemouse(arg); return; + } #if !FAKEFULLSCREEN_PATCH #if FAKEFULLSCREEN_CLIENT_PATCH if (c->isfullscreen && !c->fakefullscreen) /* no support resizing fullscreen windows by mouse */