glazier

the original window manipulator
Log | Files | Refs | Submodules | README | LICENSE

commit a225cf5fc84fe563bf057fbc5e98d96664cdd8bc
parent 81dd8151eb2a62fc3d9ba77bdd6acb87933af3b0
Author: Willy Goiffon <dev@z3bra.org>
Date:   Fri, 18 Oct 2019 23:08:48 +0200

Add an NULL event callback

Diffstat:
glazier.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/glazier.c b/glazier.c @@ -5,6 +5,7 @@ #include "config.h" #define LEN(x) (sizeof(x)/sizeof(x[0])) +#define NO_EVENT 0 struct ev_callback_t { uint32_t type; @@ -26,6 +27,7 @@ static const struct ev_callback_t cb[] = { { XCB_CREATE_NOTIFY, cb_create }, { XCB_BUTTON_PRESS, cb_default }, { XCB_BUTTON_RELEASE, cb_default }, + { NO_EVENT, cb_default }, }; static int