Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
250 changes: 0 additions & 250 deletions lib/Gestures/Backends/ToucheggBackend.vala

This file was deleted.

5 changes: 3 additions & 2 deletions lib/Gestures/Triggers/GlobalTrigger.vala
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ public class Gala.GlobalTrigger : Object, GestureTrigger {
}

internal void enable_backends (GestureController controller) {
controller.enable_backend (ToucheggBackend.get_default (), this);
controller.enable_backend (new TouchpadSwipeBackend (wm.stage), this);
#if HAS_MUTTER49
controller.enable_backend (new TouchScreenSwipeBackend (wm.stage), this);
// On mutter < 49 there is a bug that pinch gestures aren't delivered when over a window so rely on touch egg there
// On mutter < 49 there is a bug that pinch gestures aren't delivered when over a window so
// if mutter 49 or higher is not available gala 8.x.x should be used since these versions still include
// a touchegg backend
controller.enable_backend (new TouchpadPinchBackend (wm.stage), this);
#endif
}
Expand Down
1 change: 0 additions & 1 deletion lib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ gala_lib_sources = files(
'Effects/RoundedCornersEffect.vala',
'Effects/ShadowEffect.vala',
'Gestures/Backends/GestureBackend.vala',
'Gestures/Backends/ToucheggBackend.vala',
'Gestures/Backends/TouchpadPinchBackend.vala',
'Gestures/Backends/TouchpadSwipeBackend.vala',
'Gestures/Backends/TouchScreenSwipeBackend.vala',
Expand Down
1 change: 0 additions & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ lib/Effects/BoxBlurManager.vala
lib/Effects/RoundedCornersEffect.vala
lib/Effects/ShadowEffect.vala
lib/Gestures/Backends/GestureBackend.vala
lib/Gestures/Backends/ToucheggBackend.vala
lib/Gestures/Backends/TouchpadSwipeBackend.vala
lib/Gestures/Backends/ScrollBackend.vala
lib/Gestures/Targets/ActorTarget.vala
Expand Down