summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandpointer.cpp
diff options
context:
space:
mode:
authorJaeyoon Jung <jaeyoon.jung@lge.com>2021-04-12 14:37:02 +0900
committerJaeyoon Jung <jaeyoon.jung@lge.com>2021-05-12 15:01:08 +0900
commit87cbec8d4a71015219360a7f9a3ccf2a64af8d68 (patch)
tree1a0612e06583fe6922460486fc02a6322f6c2391 /src/compositor/compositor_api/qwaylandpointer.cpp
parent6300eba9e5537faf7e858cfaa4cba3b288635347 (diff)
Do not set null cursor surface on pointer leave
Hiding the cursor when a pointer has lost its focus is not the common behavior that applies to all compositor use cases. It is also impossible to distinguish if the client actually requested it or not. Change-Id: Iaa67021ac142abb64a3c71e6d4536e5a5c8a04b5 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandpointer.cpp')
-rw-r--r--src/compositor/compositor_api/qwaylandpointer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandpointer.cpp b/src/compositor/compositor_api/qwaylandpointer.cpp
index 302e7cdd0..a7b578535 100644
--- a/src/compositor/compositor_api/qwaylandpointer.cpp
+++ b/src/compositor/compositor_api/qwaylandpointer.cpp
@@ -92,7 +92,6 @@ void QWaylandPointerPrivate::sendLeave()
send_leave(resource->handle, serial, enteredSurface->resource());
localPosition = QPointF();
enteredSurfaceDestroyListener.reset();
- seat->cursorSurfaceRequested(nullptr, 0, 0, QWaylandClient::fromWlClient(compositor(), enteredSurface->waylandClient()));
enteredSurface = nullptr;
}