From 301614990a3d8e8e95486179a500733e5cf51a5f Mon Sep 17 00:00:00 2001 From: Yigit BALABAN Date: Fri, 30 Oct 2026 23:45:31 +0300 Subject: [PATCH] Reverse the Spaces swipe direction Pulling left now brings in the desktop on the right, and pulling right the one on the left, like dragging the desktop. Assisted-by: Claude Sonnet 5.5 Signed-off-by: Yigit BALABAN --- mxd.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mxd.swift b/mxd.swift index f3e32e9..26850ea 100644 --- a/mxd.swift +++ b/mxd.swift @@ -570,7 +570,7 @@ func buttonUp(_ d: Device, _ cid: UInt16) { let t = config.gestureThreshold if verbose { log("gesture dx=\(d.gx) dy=\(d.gy)") } if abs(d.gx) < t && abs(d.gy) < t { perform(config.buttons[CID_GESTURE] ?? .missionControl) } - else if abs(d.gx) > abs(d.gy) { perform(d.gx > 0 ? .nextSpace : .prevSpace) } + else if abs(d.gx) > abs(d.gy) { perform(d.gx > 0 ? .prevSpace : .nextSpace) } else { perform(d.gy < 0 ? .missionControl : .appExpose) } }