summarylogtreecommitdiffstats
path: root/dde-daemon_5.9.4.2.diff
diff options
context:
space:
mode:
authorZhang, DingYuan2020-08-08 09:44:22 +0800
committerZhang, DingYuan2020-08-08 09:44:22 +0800
commit0410521865da6d5d8d5a572e761d44cf3f62f006 (patch)
tree5e133ca6c4cb3e6a796b1f310679c76b975bfbf3 /dde-daemon_5.9.4.2.diff
downloadaur-0410521865da6d5d8d5a572e761d44cf3f62f006.tar.gz
update
Diffstat (limited to 'dde-daemon_5.9.4.2.diff')
-rw-r--r--dde-daemon_5.9.4.2.diff54
1 files changed, 54 insertions, 0 deletions
diff --git a/dde-daemon_5.9.4.2.diff b/dde-daemon_5.9.4.2.diff
new file mode 100644
index 000000000000..773e47b48bb2
--- /dev/null
+++ b/dde-daemon_5.9.4.2.diff
@@ -0,0 +1,54 @@
+diff --git a/misc/dde-daemon/gesture.json b/misc/dde-daemon/gesture.json
+index 73a3d7ee..fbcc8fd8 100644
+--- a/misc/dde-daemon/gesture.json
++++ b/misc/dde-daemon/gesture.json
+@@ -53,15 +53,6 @@
+ "Action": "ShowWindow"
+ }
+ },
+- {
+- "Name": "tap",
+- "Direction": "none",
+- "Fingers": 3,
+- "Action": {
+- "Type": "built-in",
+- "Action": "MoveWindow"
+- }
+- },
+ {
+ "Name": "swipe",
+ "Direction": "up",
+diff --git a/system/gesture/core.c b/system/gesture/core.c
+index f953cc1c..4a49749e 100644
+--- a/system/gesture/core.c
++++ b/system/gesture/core.c
+@@ -305,7 +305,7 @@ handle_gesture_events(struct libinput_event *ev, int type)
+ }
+ raw_event_reset(raw);
+ break;
+- case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
++ /*case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
+ break;
+ case LIBINPUT_EVENT_GESTURE_TAP_END:
+ if (libinput_event_gesture_get_cancelled(gesture)) {
+@@ -314,7 +314,7 @@ handle_gesture_events(struct libinput_event *ev, int type)
+ raw->fingers = libinput_event_gesture_get_finger_count(gesture);
+ g_debug("[Tap] fingers: %d", raw->fingers);
+ handleGestureEvent(GESTURE_TYPE_TAP, GESTURE_DIRECTION_NONE, raw->fingers);
+- break;
++ break;*/
+ }
+ }
+
+@@ -433,9 +433,9 @@ handle_events(struct libinput *li)
+ case LIBINPUT_EVENT_GESTURE_SWIPE_BEGIN:
+ case LIBINPUT_EVENT_GESTURE_SWIPE_UPDATE:
+ case LIBINPUT_EVENT_GESTURE_SWIPE_END:
+- case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
++ /*case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
+ case LIBINPUT_EVENT_GESTURE_TAP_UPDATE:
+- case LIBINPUT_EVENT_GESTURE_TAP_END:{
++ case LIBINPUT_EVENT_GESTURE_TAP_END:*/{
+ handle_gesture_events(ev, type);
+ break;
+ }