Skip to content

Commit ece76a0

Browse files
committed
Merge branch 'develop' into release
2 parents c15fcee + 0c0b662 commit ece76a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

gestures.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ export function enable(extension) {
113113
return Clutter.EVENT_PROPAGATE;
114114
}
115115

116+
// if our vertical gesture is disabled, propagate always!
117+
// (might be used for a vertical-workspaces addon)
118+
if (gestureWorkspaceFingers() === 0) {
119+
swipeTrackersEnable();
120+
return Clutter.EVENT_PROPAGATE;
121+
}
122+
116123
let dir_y = -dy * natural * Settings.prefs.swipe_sensitivity[1];
117124
// if not Tiling.inPreview and swipe is UP => propagate event to overview
118125
if (!Tiling.inPreview && dir_y > 0) {

0 commit comments

Comments
 (0)