aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 9af7ef57..a69cccb4 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -1593,7 +1593,7 @@ uint32_t get_mouse_bindcode(const char *name, char **error) {
1593 1593
1594uint32_t get_mouse_button(const char *name, char **error) { 1594uint32_t get_mouse_button(const char *name, char **error) {
1595 uint32_t button = get_mouse_bindsym(name, error); 1595 uint32_t button = get_mouse_bindsym(name, error);
1596 if (!button && !error) { 1596 if (!button && !*error) {
1597 button = get_mouse_bindcode(name, error); 1597 button = get_mouse_bindcode(name, error);
1598 } 1598 }
1599 return button; 1599 return button;