From 65cae2cad1e12530c48bca710ef4e886745d2786 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 1 Jan 2010 16:19:42 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20Don=E2=80=99t=20put=20dock=20clients?= =?utf8?q?=20into=20floating=20mode=20(Thanks=20xeen)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/floating.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/floating.c b/src/floating.c index 2facc6cf..1e7a4fac 100644 --- a/src/floating.c +++ b/src/floating.c @@ -42,6 +42,11 @@ void toggle_floating_mode(xcb_connection_t *conn, Client *client, bool automatic Container *con = client->container; i3Font *font = load_font(conn, config.font); + if (client->dock) { + DLOG("Not putting dock client into floating mode\n"); + return; + } + if (con == NULL) { DLOG("This client is already in floating (container == NULL), re-inserting\n"); Client *next_tiling; -- 2.39.5