i3
|
#include <stdio.h>
#include <xcb/xcb.h>
#include "log.h"
Go to the source code of this file.
Functions | |
int | format_event (xcb_generic_event_t *e) |
int | handle_event (void *ignored, xcb_connection_t *c, xcb_generic_event_t *e) |
Variables | |
static const char * | labelError [] |
static const char * | labelRequest [] |
static const char * | labelEvent [] |
static const char * | labelSendEvent [] |
int format_event | ( | xcb_generic_event_t * | e | ) |
Definition at line 214 of file debug.c.
References DLOG, labelError, labelEvent, labelRequest, and labelSendEvent.
Referenced by handle_event().
int handle_event | ( | void * | ignored, |
xcb_connection_t * | c, | ||
xcb_generic_event_t * | e | ||
) |
Definition at line 248 of file debug.c.
References format_event().
Referenced by drag_pointer(), and main().
const char* labelError[] [static] |
{ "Success", "BadRequest", "BadValue", "BadWindow", "BadPixmap", "BadAtom", "BadCursor", "BadFont", "BadMatch", "BadDrawable", "BadAccess", "BadAlloc", "BadColor", "BadGC", "BadIDChoice", "BadName", "BadLength", "BadImplementation", }
Definition at line 19 of file debug.c.
Referenced by format_event().
const char* labelEvent[] [static] |
Definition at line 171 of file debug.c.
Referenced by format_event().
const char* labelRequest[] [static] |
Definition at line 40 of file debug.c.
Referenced by format_event().
const char* labelSendEvent[] [static] |
{ "", " (from SendEvent)", }
Definition at line 209 of file debug.c.
Referenced by format_event().