Skip to content
Snippets Groups Projects
Commit 43bcb730 authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Rémi Denis-Courmont
Browse files

qml: correctly check Window visibility

QWindows::visibility is not bitwise
parent 1171147b
No related branches found
No related tags found
1 merge request!1595qt: fix CSD resize not working after video fullscreen
......@@ -191,7 +191,7 @@ Rectangle {
active: (MainCtx.clientSideDecoration
&&
// NOTE: We don't want to steal the mouse when we are maximized or in fullscreen
!((MainCtx.intfMainWindow.visibility & Window.Maximized) || MainCtx.interfaceFullScreen))
!((MainCtx.intfMainWindow.visibility === Window.Maximized) || MainCtx.interfaceFullScreen))
source: "qrc:///widgets/CSDMouseStealer.qml"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment