summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-06-23 12:11:01 +0200
committerbakkeby <[email protected]>2020-06-23 12:11:01 +0200
commitaf30c7a7351a7b02d1e3417b5f091c4c6a97e93f (patch)
tree25b5fc56c1dabc13fc53fcf233e9089bda8f7bf4
parent9ae251791df7a5c70aea829b1671c0f64e42b1ef (diff)
downloaddwm-flexipatch-af30c7a7351a7b02d1e3417b5f091c4c6a97e93f.tar.gz
dwm-flexipatch-af30c7a7351a7b02d1e3417b5f091c4c6a97e93f.zip
floatpos: allow controls in floating mode
-rw-r--r--patch/floatpos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/patch/floatpos.c b/patch/floatpos.c
index 33f5bb6..1cdfcbb 100644
--- a/patch/floatpos.c
+++ b/patch/floatpos.c
@@ -3,7 +3,7 @@ floatpos(const Arg *arg)
{
Client *c = selmon->sel;
- if (!c || !c->isfloating)
+ if (!c || (selmon->lt[selmon->sellt]->arrange && !c->isfloating))
return;
setfloatpos(c, (char *)arg->v);