diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-09-03 22:21:50 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-09-03 22:21:50 +0800 |
| commit | dc7fee36ac26af215cf9cc2727c35b34d16113e0 (patch) | |
| tree | 3ffd2d851b7e97bd0035807f9b8edc540aace112 /bar/Workspace.qml | |
| parent | 533750aa9cfe32e4bab0afb3c82b52d1b01db3ab (diff) | |
IComponent*: use onClicked instead of onPressed
Diffstat (limited to 'bar/Workspace.qml')
| -rw-r--r-- | bar/Workspace.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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}' })`); } |
