diff options
author | Michael Weiser <michael.weiser@gmx.de> | 2020-03-11 09:35:12 +0100 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-03-11 23:51:37 -0400 |
commit | 30e666f1710e5fcff46e9a75660dc2331d79dca8 (patch) | |
tree | 624f3a8c266e9109a4faa1a675cae3ea0bd19e5a /sway/commands | |
parent | commands: Add shortcuts_inhibitor command (diff) | |
download | sway-30e666f1710e5fcff46e9a75660dc2331d79dca8.tar.gz sway-30e666f1710e5fcff46e9a75660dc2331d79dca8.tar.zst sway-30e666f1710e5fcff46e9a75660dc2331d79dca8.zip |
commands: Adjust style in cursors command
Remove some unnecessary brackets in an error condition check identified
during review of the shortcuts inhibitor command code (#5021).
Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/seat/cursor.c | 2 |
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) { | |||
71 | struct sway_seat *seat = NULL; | 71 | struct sway_seat *seat = NULL; |
72 | wl_list_for_each(seat, &server.input->seats, link) { | 72 | wl_list_for_each(seat, &server.input->seats, link) { |
73 | error = handle_command(seat->cursor, argc, argv); | 73 | error = handle_command(seat->cursor, argc, argv); |
74 | if ((error && error->status != CMD_SUCCESS)) { | 74 | if (error && error->status != CMD_SUCCESS) { |
75 | break; | 75 | break; |
76 | } | 76 | } |
77 | } | 77 | } |