From a6b203f8a6caaaff2be1d8cdeb7eded0fabed963 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 14 Mar 2008 17:38:52 +0100 Subject: [PATCH] Disable titlebar for dock and panels --- client.c | 3 +++ ewmh.c | 1 + 2 files changed, 4 insertions(+) diff --git a/client.c b/client.c index 3eb8dc7c..88be0753 100644 --- a/client.c +++ b/client.c @@ -363,6 +363,9 @@ client_manage(Window w, XWindowAttributes *wa, int screen) /* default titlebar 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 */ rule = rule_matching_client(c); diff --git a/ewmh.c b/ewmh.c index fd0dfa37..937d4703 100644 --- a/ewmh.c +++ b/ewmh.c @@ -290,6 +290,7 @@ ewmh_process_window_type_atom(Client *c, Atom state) c->border = 0; c->skip = True; c->isfixed = True; + c->titlebar.position = Off; client_setfloating(c, True); } else if (state == net_wm_window_type_dialog)