awesomeWM/awesome-www

Title bars on _NET_WM_WINDOW_TYPE_OVERRIDE windows

Malvineous opened this issue · 1 comments

I just saw the mailing list has been closed so please advise if this is not the right place to ask this question.

I notice the latest Awesome version places title bars on windows of type "dialog", however I am getting title bars on my Promoe (XMMS2 media player) windows that shouldn't be there.

There are two Promoe windows, one with a title bar and one without (both should not have title bars.)

The correct window, that has no title bar, has xprop say this:

_NET_WM_WINDOW_TYPE(ATOM) = _KDE_NET_WM_WINDOW_TYPE_OVERRIDE,
  _NET_WM_WINDOW_TYPE_NORMAL

However the incorrect window, that has a title bar and should not have one, says this:

_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG,
  _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_WINDOW_TYPE_NORMAL

It looks like the rule in the default config that puts title bars on dialog boxes needs to be changed so that it puts title bars on dialog boxes except if they have _NET_WM_WINDOW_TYPE_OVERRIDE also.

I am not sure how to update this rule however so any advice would be appreciated!

Sorry just noticed I blindly followed the link from the final mailing list post without realising it went to the web site repo instead of the main repo :-$ I will reopen this issue over there if I can't find it already.