Disable titlebar for dock and panels
This commit is contained in:
parent
12584caa5d
commit
a6b203f8a6
3
client.c
3
client.c
|
@ -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
1
ewmh.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue