xcb: fix a typo for WindowTypes
Pick-to: 6.3 6.2 5.15 Fixes: QTBUG-101306 Change-Id: If02fe4997d27b952886ce664133d1aafc2b41669 Reviewed-by: Liang Qi <liang.qi@qt.io>bb10
parent
540745e599
commit
cfc2e267a4
|
|
@ -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…
Reference in New Issue