From: Michael Stapelberg Date: Fri, 1 Jan 2010 15:19:42 +0000 (+0100) Subject: Bugfix: Don’t put dock clients into floating mode (Thanks xeen) X-Git-Tag: 3.e~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9dce0818378feefe0aa7844f51f48e03a01607dc;p=i3%2Fi3 Bugfix: Don’t put dock clients into floating mode (Thanks xeen) --- diff --git a/src/floating.c b/src/floating.c index 4177b6e5..07bc3310 100644 --- a/src/floating.c +++ b/src/floating.c @@ -41,6 +41,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) { LOG("This client is already in floating (container == NULL), re-inserting\n"); Client *next_tiling;