From a047141f91979c0922105ae61150ea65b280da37 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 21 Jul 2020 09:20:46 +0300 Subject: [PATCH] stuff --- sowm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sowm.c b/sowm.c index 18ecbac..905f0e3 100644 --- a/sowm.c +++ b/sowm.c @@ -1,4 +1,3 @@ -#define _POSIX_C_SOURCE 200809L #include #include #include @@ -12,6 +11,7 @@ static void init_wm(void); static void init_input(void); void (*events[XCB_NO_OPERATION])(xcb_generic_event_t *) = { + [0] = 0, /* dummy for now */ /* [XCB_BUTTON_PRESS] = event_button_press, */ /* [XCB_BUTTON_RELEASE] = event_button_release, */ /* [XCB_CONFIGURE_REQUEST] = event_configure_request, */