diff options
author | Peter Rice <peter@peterrice.xyz> | 2018-07-17 19:00:38 -0400 |
---|---|---|
committer | Peter Rice <peter@peterrice.xyz> | 2018-07-17 19:04:04 -0400 |
commit | e43c20134ab48ab36391443860cbdf4ac67d8348 (patch) | |
tree | 1d7cd74a3aa009ee1bb3c1fa54d29114da48f5c5 /swaybar | |
parent | 14511da75da11aeef6427aed7fe170076649a957 (diff) |
remove unnecessary parens
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/i3bar.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/swaybar/i3bar.c b/swaybar/i3bar.c index a615fb27..78b183ad 100644 --- a/swaybar/i3bar.c +++ b/swaybar/i3bar.c @@ -219,15 +219,15 @@ void i3bar_block_send_click(struct status_line *status, enum x11_button wl_button_to_x11_button(uint32_t button) { switch (button) { - case (BTN_LEFT): + case BTN_LEFT: return LEFT; - case (BTN_MIDDLE): + case BTN_MIDDLE: return MIDDLE; - case (BTN_RIGHT): + case BTN_RIGHT: return RIGHT; - case (BTN_SIDE): + case BTN_SIDE: return BACK; - case (BTN_EXTRA): + case BTN_EXTRA: return FORWARD; default: return NONE; |