From 02c3e360a86c851297fabe2ea1035711e1207bf3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 7 Sep 2008 23:55:38 +0200 Subject: [PATCH] client: floating state is only for normal type Signed-off-by: Julien Danjou --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index cd33b2e6..5086c9cf 100644 --- a/client.c +++ b/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)) {