mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
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>
This commit is contained in:
parent
3ee5aace33
commit
30e666f171
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ struct cmd_results *seat_cmd_cursor(int argc, char **argv) {
|
||||||
struct sway_seat *seat = NULL;
|
struct sway_seat *seat = NULL;
|
||||||
wl_list_for_each(seat, &server.input->seats, link) {
|
wl_list_for_each(seat, &server.input->seats, link) {
|
||||||
error = handle_command(seat->cursor, argc, argv);
|
error = handle_command(seat->cursor, argc, argv);
|
||||||
if ((error && error->status != CMD_SUCCESS)) {
|
if (error && error->status != CMD_SUCCESS) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue