Disable titlebar for dock and panels

This commit is contained in:
Julien Danjou 2008-03-14 17:38:52 +01:00
parent 12584caa5d
commit a6b203f8a6
2 changed files with 4 additions and 0 deletions

View File

@ -363,6 +363,9 @@ client_manage(Window w, XWindowAttributes *wa, int screen)
/* default titlebar position */ /* default titlebar position */
c->titlebar.position = globalconf.screens[screen].titlebar_default_position; c->titlebar.position = globalconf.screens[screen].titlebar_default_position;
/* First check clients hints */
ewmh_check_client_hints(c);
/* get the matching rule if any */ /* get the matching rule if any */
rule = rule_matching_client(c); rule = rule_matching_client(c);

1
ewmh.c
View File

@ -290,6 +290,7 @@ ewmh_process_window_type_atom(Client *c, Atom state)
c->border = 0; c->border = 0;
c->skip = True; c->skip = True;
c->isfixed = True; c->isfixed = True;
c->titlebar.position = Off;
client_setfloating(c, True); client_setfloating(c, True);
} }
else if (state == net_wm_window_type_dialog) else if (state == net_wm_window_type_dialog)