From 3e474d2c240fa7ef2d73edfef4736c240a3af6c4 Mon Sep 17 00:00:00 2001
From: Felix Gerking <felix.gerking@garz-fricke.com>
Date: Fri, 13 May 2022 13:02:10 +0200
Subject: [PATCH] Mouse: Disable client cursor

Deactivation of the ClientCursor, because it is displayed at touch events.

BCS: 746-000666
---
 qml/Screen.qml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/qml/Screen.qml b/qml/Screen.qml
index 983d010..a873f60 100644
--- a/qml/Screen.qml
+++ b/qml/Screen.qml
@@ -74,7 +74,7 @@ WaylandOutput {
         WaylandMouseTracker {
             id: mouseTracker
             anchors.fill: parent
-            windowSystemCursorEnabled: !clientCursor.visible
+            windowSystemCursorEnabled: true
             rotation: 180
 
             Rectangle {
@@ -90,14 +90,14 @@ WaylandOutput {
                 }
             }
 
-            WaylandCursorItem {
-                id: clientCursor
-                inputEventsEnabled: false
-                x: mouseTracker.mouseX
-                y: mouseTracker.mouseY
-                seat: comp.defaultSeat
-                visible: surface !== null && mouseTracker.containsMouse
-            }
+            //WaylandCursorItem {
+            //    id: clientCursor
+            //    inputEventsEnabled: false
+            //    x: mouseTracker.mouseX
+            //    y: mouseTracker.mouseY
+            //    seat: comp.defaultSeat
+            //    visible: surface !== null && mouseTracker.containsMouse
+            //}
         }
         Shortcut {
             sequence: "Ctrl+Alt+Backspace"
-- 
GitLab