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
Loading
...@@ -191,7 +191,7 @@ Rectangle { ...@@ -191,7 +191,7 @@ Rectangle {
active: (MainCtx.clientSideDecoration active: (MainCtx.clientSideDecoration
&& &&
// NOTE: We don't want to steal the mouse when we are maximized or in fullscreen // 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" 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