mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
client: floating state is only for normal type
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5198f0a7b0
commit
02c3e360a8
1 changed files with 2 additions and 1 deletions
3
client.c
3
client.c
|
@ -623,7 +623,8 @@ client_resize(client_t *c, area_t geometry, bool hints)
|
|||
void
|
||||
client_setfloating(client_t *c, bool floating)
|
||||
{
|
||||
if(c->isfloating != floating)
|
||||
if(c->isfloating != floating
|
||||
&& (c->type == WINDOW_TYPE_NORMAL))
|
||||
{
|
||||
if((c->isfloating = floating))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue