Bugfix: Don’t put dock clients into floating mode (Thanks xeen)
This commit is contained in:
parent
75aac5bc02
commit
65cae2cad1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue