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~6^2~181 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=65cae2cad1e12530c48bca710ef4e886745d2786;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 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;