summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Taiyu <taiyu.len@gmail.com>2015-08-11 00:38:02 -0700
committerLibravatar Taiyu <taiyu.len@gmail.com>2015-08-11 00:38:02 -0700
commit5d5a20bf2580c33beb6abc20d2c46afc8505fb09 (patch)
tree5f3915f0b731c6070808e9689dfed869cced1164
parentdefine -> enum (diff)
downloadsway-5d5a20bf2580c33beb6abc20d2c46afc8505fb09.tar.gz
sway-5d5a20bf2580c33beb6abc20d2c46afc8505fb09.tar.zst
sway-5d5a20bf2580c33beb6abc20d2c46afc8505fb09.zip
small fix
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 65e6a7a2..ebe3e349 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
55 // deny that shit 55 // deny that shit
56} 56}
57 57
58enum { QSIZE = 32 };
59 58
60bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers 59bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers
61 *modifiers, uint32_t key, uint32_t sym, enum wlc_key_state state) { 60 *modifiers, uint32_t key, uint32_t sym, enum wlc_key_state state) {
61 enum { QSIZE = 32 };
62 static uint8_t head = 0; 62 static uint8_t head = 0;
63 static uint32_t array[QSIZE]; 63 static uint32_t array[QSIZE];
64 64