From dc7fee36ac26af215cf9cc2727c35b34d16113e0 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 3 Sep 2026 22:21:50 +0800 Subject: IComponent*: use onClicked instead of onPressed --- bar/Workspace.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bar/Workspace.qml') diff --git a/bar/Workspace.qml b/bar/Workspace.qml index 51c4ba4..9096a2e 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -132,7 +132,7 @@ Item { acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton hoverEnabled: true - onPressed: { + onClicked: { if (!parent.active) Hyprland.dispatch(`hl.dsp.focus({ workspace = '${index + 1}' })`); } -- cgit v1.2.3