---
input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/input.c b/input.c
index f90ee94..ab26804 100644
--- a/input.c
+++ b/input.c
@@ -281,7 +281,7 @@ static void handle_button_internal(
int x1, x2, y1, y2;
switch (server->input_state) {
case INPUT_STATE_NONE:
- if (event->state == WLR_BUTTON_PRESSED && event->button == BTN_RIGHT) {
+ if (event->state == WLR_BUTTON_PRESSED) {
// TODO: Open over the last-used menu item
server->input_state = INPUT_STATE_MENU;
server->menu.x = server->cursor->x;
--
2.22.0
View this thread in the archives