summaryrefslogtreecommitdiff
path: root/bar/Workspace.qml
diff options
context:
space:
mode:
Diffstat (limited to 'bar/Workspace.qml')
-rw-r--r--bar/Workspace.qml2
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}' })`);
}