Bugfix: Completely ignore legacy hints as soon as the client uses _NET_WM_NAME

This commit is contained in:
Michael Stapelberg
2009-03-12 16:44:44 +01:00
parent 0ef49807ba
commit 755709c86d
2 changed files with 10 additions and 1 deletions

View File

@ -228,6 +228,9 @@ struct Client {
to X as 8-bit string and therefore will not be rendered correctly. This behaviour is
to support legacy applications which do not set _NET_WM_NAME */
int name_len;
/* This will be set to true as soon as the first _NET_WM_NAME comes in. If set to true,
legacy window names are ignored. */
bool uses_net_wm_name;
/* fullscreen is pretty obvious */
bool fullscreen;