client_moveresize fix
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
914f00f3b8
commit
f604d4dbdd
4
client.c
4
client.c
|
@ -808,8 +808,8 @@ uicb_client_moveresize(int screen, char *arg)
|
|||
Client *sel = globalconf.focus->client;
|
||||
Layout *curlay = layout_get_current(screen);
|
||||
|
||||
if(curlay->arrange != layout_floating ||
|
||||
!sel || !sel->isfloating || sel->isfixed || !arg)
|
||||
if(!sel || sel->isfixed || !arg ||
|
||||
(curlay->arrange != layout_floating && !sel->isfloating))
|
||||
return;
|
||||
|
||||
if(sscanf(arg, "%s %s %s %s", x, y, w, h) != 4)
|
||||
|
|
Loading…
Reference in New Issue