8d738c8a21
- Update version to 3.27.0 * chore: auto pull translation files from transifex * change(api): dde-authority add method HasCookie * feat(dde-authority): fprint transcation give message based on user locale * fix(appearance): do not change background after logging in * fix: deepin-installer.conf * fix(lockservice): panic: send on closed channel * fix(authority): user in group nopasswdlogin auth failed - Rewrite spec with golang-packaging * Add disable-gobuild-in-makefile.patch - Update version to 3.25.2 * chore: auto pull translation files from transifex * chore: update depends for wm * feat(appearance): support set kwin window decoration theme * fix(greeter-setter): UpdateGreeterQtTheme rename failed * chore: update tranlations * feat(launcher): process X-Deepin-Vendor field * feat(dock): add method RemovePluginSettings * feat(dock): add method MergePluginSettings * feat(audio): add sync supported * feat(lastore): add sync supported * feat(appearance): add greeter background for deepin sync * feat(network): add sync supported * feat(inputdevices): add sync supported * feat(screenedge): add sync supported * feat(dock): continue to support deepin sync * feat(dock): support deepin sync * feat(appearance): support deepin sync * feat(launcher): support deepin sync OBS-URL: https://build.opensuse.org/request/show/697522 OBS-URL: https://build.opensuse.org/package/show/X11:Deepin/deepin-daemon?expand=0&rev=4
68 lines
2.3 KiB
Diff
68 lines
2.3 KiB
Diff
diff --git a/misc/dde-daemon/gesture.json b/misc/dde-daemon/gesture.json
|
|
index 2fc0ce60..9548d8f2 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 750baabb..066c4fd9 100644
|
|
--- a/system/gesture/core.c
|
|
+++ b/system/gesture/core.c
|
|
@@ -294,16 +294,16 @@ handle_gesture_events(struct libinput_event *ev, int type)
|
|
}
|
|
raw_event_reset(raw);
|
|
break;
|
|
- case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:
|
|
- break;
|
|
- case LIBINPUT_EVENT_GESTURE_TAP_END:
|
|
- if (libinput_event_gesture_get_cancelled(gesture)) {
|
|
- break;
|
|
- }
|
|
- 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;
|
|
+ /*case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:*/
|
|
+ /*break;*/
|
|
+ /*case LIBINPUT_EVENT_GESTURE_TAP_END:*/
|
|
+ /*if (libinput_event_gesture_get_cancelled(gesture)) {*/
|
|
+ /*break;*/
|
|
+ /*}*/
|
|
+ /*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;*/
|
|
}
|
|
}
|
|
|
|
@@ -410,10 +410,10 @@ handle_events(struct libinput *li)
|
|
case LIBINPUT_EVENT_GESTURE_PINCH_END:
|
|
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_UPDATE:
|
|
- case LIBINPUT_EVENT_GESTURE_TAP_END:{
|
|
+ case LIBINPUT_EVENT_GESTURE_SWIPE_END:{
|
|
+ /*case LIBINPUT_EVENT_GESTURE_TAP_BEGIN:*/
|
|
+ /*case LIBINPUT_EVENT_GESTURE_TAP_UPDATE:*/
|
|
+ /*case LIBINPUT_EVENT_GESTURE_TAP_END:{*/
|
|
handle_gesture_events(ev, type);
|
|
break;
|
|
}
|
|
|