client_moveresize fix
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
914f00f3b8
commit
f604d4dbdd
6
client.c
6
client.c
|
@ -808,9 +808,9 @@ 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)
|
||||
return;
|
||||
if(!sel || sel->isfixed || !arg ||
|
||||
(curlay->arrange != layout_floating && !sel->isfloating))
|
||||
return;
|
||||
|
||||
if(sscanf(arg, "%s %s %s %s", x, y, w, h) != 4)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue