Remove XCB_EVENT_MASK_RESIZE_REDIRECT for Qt:WindowTransparentForInput
In xcb plugin, XCB_EVENT_MASK_RESIZE_REDIRECT is set but it is not necessary. Mouse events are disabled by setTransparentForMouseEvents and there is no reason to have this event mask. Fixes: QTBUG-86372 Pick-to: 6.2 5.15 Change-Id: I2124b0684a0847d6705344bb5850bac178a292b6 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
parent
dbb9579566
commit
ac2f4bd9db
@ -246,7 +246,7 @@ enum : quint32 {
|
|||||||
| XCB_EVENT_MASK_POINTER_MOTION,
|
| XCB_EVENT_MASK_POINTER_MOTION,
|
||||||
|
|
||||||
transparentForInputEventMask = baseEventMask
|
transparentForInputEventMask = baseEventMask
|
||||||
| XCB_EVENT_MASK_VISIBILITY_CHANGE | XCB_EVENT_MASK_RESIZE_REDIRECT
|
| XCB_EVENT_MASK_VISIBILITY_CHANGE
|
||||||
| XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT
|
| XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT
|
||||||
| XCB_EVENT_MASK_COLOR_MAP_CHANGE | XCB_EVENT_MASK_OWNER_GRAB_BUTTON
|
| XCB_EVENT_MASK_COLOR_MAP_CHANGE | XCB_EVENT_MASK_OWNER_GRAB_BUTTON
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user