2 #define I3__FILE__ "debug.c"
42 "ChangeWindowAttributes",
43 "GetWindowAttributes",
70 "ChangeActivePointerGrab",
120 "CopyColormapAndFree",
123 "ListInstalledColormaps",
140 "ChangeKeyboardMapping",
141 "GetKeyboardMapping",
142 "ChangeKeyboardControl",
143 "GetKeyboardControl",
145 "ChangePointerControl",
158 "SetModifierMapping",
159 "GetModifierMapping",
217 sendEvent = (e->response_type & 0x80) ? 1 : 0;
218 e->response_type &= ~0x80;
219 seqnum = *((uint16_t *)e + 1);
221 switch (e->response_type) {
223 DLOG(
"Error %s on seqnum %d (%s).\n",
229 if (e->response_type >
sizeof(
labelEvent) /
sizeof(
char *))
231 DLOG(
"Event %s following seqnum %d%s.\n",
236 case XCB_KEYMAP_NOTIFY:
237 DLOG(
"Event %s%s.\n",
static const char * labelRequest[]
int format_event(xcb_generic_event_t *e)
static const char * labelSendEvent[]
static const char * labelEvent[]
static const char * labelError[]