mirror of
https://github.com/Immediate-Mode-UI/Nuklear.git
synced 2026-11-30 16:48:10 +01:00
nuklear_xcb.h: move EMPTY_CLIENT_MESSAGE within nk_xcb_handle_event's scope
This commit is contained in:
@@ -238,13 +238,12 @@ NK_API void nk_xcb_free(struct nk_xcb_context *xcb_ctx)
|
||||
free(xcb_ctx);
|
||||
}
|
||||
|
||||
static const xcb_client_message_event_t EMPTY_CLIENT_MESSAGE;
|
||||
|
||||
NK_API int nk_xcb_handle_event(struct nk_xcb_context *xcb_ctx, struct nk_context *nk_ctx)
|
||||
{
|
||||
int events = 0;
|
||||
xcb_generic_event_t *event;
|
||||
static int insert_toggle = 0;
|
||||
static const xcb_client_message_event_t EMPTY_CLIENT_MESSAGE;
|
||||
|
||||
#ifdef NK_XCB_MIN_FRAME_TIME
|
||||
struct timespec tp;
|
||||
|
||||
Reference in New Issue
Block a user