aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/seat/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/seat/cursor.c b/sway/commands/seat/cursor.c
index 085e6a33..c09020d3 100644
--- a/sway/commands/seat/cursor.c
+++ b/sway/commands/seat/cursor.c
@@ -71,7 +71,7 @@ struct cmd_results *seat_cmd_cursor(int argc, char **argv) {
struct sway_seat *seat = NULL;
wl_list_for_each(seat, &server.input->seats, link) {
error = handle_command(seat->cursor, argc, argv);
- if ((error && error->status != CMD_SUCCESS)) {
+ if (error && error->status != CMD_SUCCESS) {
break;
}
}