diff options
| author | bakkeby <[email protected]> | 2020-03-25 15:23:14 +0100 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-03-25 15:23:14 +0100 |
| commit | cf2e0c1d70a019b1180f53017637a26bdf9fd6c3 (patch) | |
| tree | 946cf9cfc946b68fba2352c57f4a09a3a86159b2 /patch/dragcfact.c | |
| parent | 32d3d2b7c37184595f1347f5d03fc7c0fce94b92 (diff) | |
| download | dwm-flexipatch-cf2e0c1d70a019b1180f53017637a26bdf9fd6c3.tar.gz dwm-flexipatch-cf2e0c1d70a019b1180f53017637a26bdf9fd6c3.zip | |
dragcfact - if the window is floating, then fall back to resizing the window rather than doing nothing, #19
Diffstat (limited to 'patch/dragcfact.c')
| -rw-r--r-- | patch/dragcfact.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |
