From 30e666f1710e5fcff46e9a75660dc2331d79dca8 Mon Sep 17 00:00:00 2001
From: Michael Weiser <michael.weiser@gmx.de>
Date: Wed, 11 Mar 2020 09:35:12 +0100
Subject: 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>
---
 sway/commands/seat/cursor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sway/commands/seat')

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;
 			}
 		}
-- 
cgit v1.2.3