mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
remove unnecessary parens
This commit is contained in:
parent
14511da75d
commit
e43c20134a
|
@ -219,15 +219,15 @@ void i3bar_block_send_click(struct status_line *status,
|
||||||
|
|
||||||
enum x11_button wl_button_to_x11_button(uint32_t button) {
|
enum x11_button wl_button_to_x11_button(uint32_t button) {
|
||||||
switch (button) {
|
switch (button) {
|
||||||
case (BTN_LEFT):
|
case BTN_LEFT:
|
||||||
return LEFT;
|
return LEFT;
|
||||||
case (BTN_MIDDLE):
|
case BTN_MIDDLE:
|
||||||
return MIDDLE;
|
return MIDDLE;
|
||||||
case (BTN_RIGHT):
|
case BTN_RIGHT:
|
||||||
return RIGHT;
|
return RIGHT;
|
||||||
case (BTN_SIDE):
|
case BTN_SIDE:
|
||||||
return BACK;
|
return BACK;
|
||||||
case (BTN_EXTRA):
|
case BTN_EXTRA:
|
||||||
return FORWARD;
|
return FORWARD;
|
||||||
default:
|
default:
|
||||||
return NONE;
|
return NONE;
|
||||||
|
|
Loading…
Reference in a new issue