mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
dragcfact - if the window is floating, then fall back to resizing the window rather than doing nothing, #19
This commit is contained in:
parent
32d3d2b7c3
commit
cf2e0c1d70
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user