Bugfix: dock clients need to have borderless = true

This commit is contained in:
Michael Stapelberg 2009-08-05 19:28:21 +02:00
parent 22e4f03553
commit 78b9e7f5ce
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child,
if (atom[i] == atoms[_NET_WM_WINDOW_TYPE_DOCK]) { if (atom[i] == atoms[_NET_WM_WINDOW_TYPE_DOCK]) {
LOG("Window is a dock.\n"); LOG("Window is a dock.\n");
new->dock = true; new->dock = true;
new->borderless = true;
new->titlebar_position = TITLEBAR_OFF; new->titlebar_position = TITLEBAR_OFF;
new->force_reconfigure = true; new->force_reconfigure = true;
new->container = NULL; new->container = NULL;