noborder depends on NET::Override presence
... not dominance - if checking all supported types eg. a dialog would trump NET::Override as type, thus get a border despite NET::Override (which Qt would set for Qt::FramelessWindowHint, alongside the MWM hints) REVIEW: 122465
This commit is contained in:
parent
0927c506f6
commit
179edc620e
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ void Client::detectNoBorder()
|
|||
// NET::Override is some strange beast without clear definition, usually
|
||||
// just meaning "noborder", so let's treat it only as such flag, and ignore it as
|
||||
// a window type otherwise (SUPPORTED_WINDOW_TYPES_MASK doesn't include it)
|
||||
if (info->windowType(SUPPORTED_MANAGED_WINDOW_TYPES_MASK | NET::OverrideMask) == NET::Override) {
|
||||
if (info->windowType(NET::OverrideMask) == NET::Override) {
|
||||
noborder = true;
|
||||
app_noborder = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue