From 8da0fbde12e2c1ce07ece6f8b2b9a5a9a9ca3ff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 19 Dec 2011 15:36:10 -0500 Subject: [PATCH] resizor: Use symbolic name for BTN_RIGHT Also, we were actually using BTN_MIDDLE before. --- clients/resizor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/resizor.c b/clients/resizor.c index c3d0327a..87c7af3f 100644 --- a/clients/resizor.c +++ b/clients/resizor.c @@ -27,6 +27,7 @@ #include #include +#include #include #include "window.h" @@ -175,7 +176,7 @@ button_handler(struct window *window, struct resizor *resizor = data; switch (button) { - case 274: + case BTN_RIGHT: if (state) show_menu(resizor, input); else