dragcfact - if the window is floating, then fall back to resizing the window rather than doing nothing, #19

This commit is contained in:
bakkeby 2020-03-25 15:23:14 +01:00
parent 32d3d2b7c3
commit cf2e0c1d70

View File

@ -9,8 +9,10 @@ dragcfact(const Arg *arg)
if (!(c = selmon->sel)) if (!(c = selmon->sel))
return; return;
if (c->isfloating) /* no support rezising floating windows */ if (c->isfloating) {
resizemouse(arg);
return; return;
}
#if !FAKEFULLSCREEN_PATCH #if !FAKEFULLSCREEN_PATCH
#if FAKEFULLSCREEN_CLIENT_PATCH #if FAKEFULLSCREEN_CLIENT_PATCH
if (c->isfullscreen && !c->fakefullscreen) /* no support resizing fullscreen windows by mouse */ if (c->isfullscreen && !c->fakefullscreen) /* no support resizing fullscreen windows by mouse */