Bugfix: Don’t put dock clients into floating mode (Thanks xeen)

This commit is contained in:
Michael Stapelberg 2010-01-01 16:19:42 +01:00
parent 75aac5bc02
commit 65cae2cad1
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ void toggle_floating_mode(xcb_connection_t *conn, Client *client, bool automatic
Container *con = client->container; Container *con = client->container;
i3Font *font = load_font(conn, config.font); i3Font *font = load_font(conn, config.font);
if (client->dock) {
DLOG("Not putting dock client into floating mode\n");
return;
}
if (con == NULL) { if (con == NULL) {
DLOG("This client is already in floating (container == NULL), re-inserting\n"); DLOG("This client is already in floating (container == NULL), re-inserting\n");
Client *next_tiling; Client *next_tiling;