From 5d5a20bf2580c33beb6abc20d2c46afc8505fb09 Mon Sep 17 00:00:00 2001 From: Taiyu Date: Tue, 11 Aug 2015 00:38:02 -0700 Subject: [PATCH] small fix --- sway/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/handlers.c b/sway/handlers.c index 65e6a7a26..ebe3e3496 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -55,10 +55,10 @@ void handle_view_geometry_request(wlc_handle view, const struct wlc_geometry* ge // deny that shit } -enum { QSIZE = 32 }; bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers *modifiers, uint32_t key, uint32_t sym, enum wlc_key_state state) { + enum { QSIZE = 32 }; static uint8_t head = 0; static uint32_t array[QSIZE];