core: split out event code

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-03-17 13:44:26 +00:00
parent 1b955cabc5
commit 472185e885
6 changed files with 580 additions and 528 deletions

8
src/event.h Normal file
View File

@@ -0,0 +1,8 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2019, Yuxuan Shui <yshuiv7@gmail.com>
#include <xcb/xcb.h>
#include "common.h"
void ev_handle(session_t *ps, xcb_generic_event_t *ev);