i3
|
00001 /* 00002 * vim:ts=4:sw=4:expandtab 00003 * 00004 * i3 - an improved dynamic tiling window manager 00005 * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) 00006 * 00007 * handlers.c: Small handlers for various events (keypresses, focus changes, 00008 * …). 00009 * 00010 */ 00011 #ifndef _HANDLERS_H 00012 #define _HANDLERS_H 00013 00014 #include <xcb/randr.h> 00015 00016 extern int randr_base; 00017 00026 void add_ignore_event(const int sequence, const int response_type); 00027 00032 bool event_is_ignored(const int sequence, const int response_type); 00033 00039 void handle_event(int type, xcb_generic_event_t *event); 00040 00046 void property_handlers_init(); 00047 00048 #if 0 00049 00054 int handle_configure_event(void *prophs, xcb_connection_t *conn, xcb_configure_notify_event_t *event); 00055 #endif 00056 00057 #if 0 00058 00062 int handle_window_type(void *data, xcb_connection_t *conn, uint8_t state, 00063 xcb_window_t window, xcb_atom_t atom, 00064 xcb_get_property_reply_t *property); 00065 #endif 00066 00067 #endif