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 6de212f7ee
commit 9dce081837
1 changed files with 5 additions and 0 deletions

View File

@ -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;