diff --git a/client.cpp b/client.cpp index 6d70b11d47..3e834f28c7 100644 --- a/client.cpp +++ b/client.cpp @@ -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; }