aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaiyu <taiyu.len@gmail.com>2015-08-11 00:38:02 -0700
committerTaiyu <taiyu.len@gmail.com>2015-08-11 00:38:02 -0700
commit5d5a20bf2580c33beb6abc20d2c46afc8505fb09 (patch)
tree5f3915f0b731c6070808e9689dfed869cced1164
parent4e33a9b23c7a342a752852460abf2c1e3875b8b4 (diff)
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
// 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];