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
3
client.c
3
client.c
|
@ -623,7 +623,8 @@ client_resize(client_t *c, area_t geometry, bool hints)
|
||||||
void
|
void
|
||||||
client_setfloating(client_t *c, bool floating)
|
client_setfloating(client_t *c, bool floating)
|
||||||
{
|
{
|
||||||
if(c->isfloating != floating)
|
if(c->isfloating != floating
|
||||||
|
&& (c->type == WINDOW_TYPE_NORMAL))
|
||||||
{
|
{
|
||||||
if((c->isfloating = floating))
|
if((c->isfloating = floating))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue