mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Layer 0 is also usable now
The check for a valid layer was wrong Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
3af77fd56e
commit
7e301b5ef2
1 changed files with 1 additions and 1 deletions
2
client.c
2
client.c
|
@ -72,7 +72,7 @@ client_loadprops(Client * c, int screen)
|
|||
untag_client(c, tag);
|
||||
|
||||
if(prop[i])
|
||||
client_setfloating(c, prop[i] == '1', prop[i + 1] ? atoi(&prop[i + 1]) : prop[i] == '1' ? LAYER_FLOAT : LAYER_TILE);
|
||||
client_setfloating(c, prop[i] == '1', (prop[i + 1] >= 0 && prop[i + 1] <= LAYER_FULLSCREEN) ? atoi(&prop[i + 1]) : prop[i] == '1' ? LAYER_FLOAT : LAYER_TILE);
|
||||
}
|
||||
|
||||
p_delete(&prop);
|
||||
|
|
Loading…
Reference in a new issue