xcb: fix a typo for WindowTypes
Fixes: QTBUG-101306 Change-Id: If02fe4997d27b952886ce664133d1aafc2b41669 Reviewed-by: Liang Qi <liang.qi@qt.io> (cherry picked from commit cfc2e267a4ed8cc724577d1b96f0d12bb45bfbfa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
cc3356a06d
commit
42c242f5fc
@ -1594,7 +1594,7 @@ void QXcbWindow::setWmWindowType(WindowTypes types, Qt::WindowFlags flags)
|
||||
break;
|
||||
}
|
||||
|
||||
if ((flags & Qt::FramelessWindowHint) && !(type & WindowType::KdeOverride)) {
|
||||
if ((flags & Qt::FramelessWindowHint) && !(types & WindowType::KdeOverride)) {
|
||||
// override netwm type - quick and easy for KDE noborder
|
||||
atoms.append(atom(QXcbAtom::_KDE_NET_WM_WINDOW_TYPE_OVERRIDE));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user