summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandxdgshellv6integration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv6integration.cpp')
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv6integration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv6integration.cpp b/src/compositor/extensions/qwaylandxdgshellv6integration.cpp
index a37ee2a3c..61a9092a3 100644
--- a/src/compositor/extensions/qwaylandxdgshellv6integration.cpp
+++ b/src/compositor/extensions/qwaylandxdgshellv6integration.cpp
@@ -109,7 +109,7 @@ bool XdgToplevelV6Integration::mouseReleaseEvent(QMouseEvent *event)
{
Q_UNUSED(event);
- if (grabberState == GrabberState::Move) {
+ if (grabberState != GrabberState::Default) {
grabberState = GrabberState::Default;
return true;
}