Skip to content

Commit 19e6f88

Browse files
authored
Changed touch detection for Workspace button (#1010)
This fixes #992 by triggering the button action at the _start_ of the touch event, rather than at the _end_. @ShamrockLee please test
2 parents c0af40d + d9a4e5f commit 19e6f88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ export const WorkspaceMenu = GObject.registerClass(
790790

791791
let type = event.type();
792792

793-
if (type === Clutter.EventType.TOUCH_END ||
793+
if (type === Clutter.EventType.TOUCH_BEGIN ||
794794
type === Clutter.EventType.BUTTON_RELEASE) {
795795
if (Navigator.navigating) {
796796
Navigator.getNavigator().finish();

0 commit comments

Comments
 (0)