• Main Page
  • Data Structures
  • Files
  • File List
  • Globals

include/handlers.h

Go to the documentation of this file.
00001 /*
00002  * vim:ts=8:expandtab
00003  *
00004  * i3 - an improved dynamic tiling window manager
00005  *
00006  * © 2009-2010 Michael Stapelberg and contributors
00007  *
00008  * See file LICENSE for license information.
00009  *
00010  */
00011 #ifndef _HANDLERS_H
00012 #define _HANDLERS_H
00013 
00014 #include <xcb/randr.h>
00015 
00021 int handle_key_press(void *ignored, xcb_connection_t *conn,
00022                      xcb_key_press_event_t *event);
00023 
00029 int handle_enter_notify(void *ignored, xcb_connection_t *conn,
00030                         xcb_enter_notify_event_t *event);
00031 
00038 int handle_motion_notify(void *ignored, xcb_connection_t *conn,
00039                          xcb_motion_notify_event_t *event);
00040 
00046 int handle_mapping_notify(void *ignored, xcb_connection_t *conn,
00047                           xcb_mapping_notify_event_t *event);
00048 
00054 int handle_button_press(void *ignored, xcb_connection_t *conn,
00055                         xcb_button_press_event_t *event);
00056 
00061 int handle_map_request(void *prophs, xcb_connection_t *conn,
00062                        xcb_map_request_event_t *event);
00063 
00069 int handle_configure_event(void *prophs, xcb_connection_t *conn, xcb_configure_notify_event_t *event);
00070 
00076 int handle_screen_change(void *prophs, xcb_connection_t *conn,
00077                          xcb_generic_event_t *e);
00078 
00087 int handle_configure_request(void *prophs, xcb_connection_t *conn,
00088                              xcb_configure_request_event_t *event);
00089 
00095 int handle_unmap_notify_event(void *data, xcb_connection_t *conn, xcb_unmap_notify_event_t *event);
00096 
00106 int handle_destroy_notify_event(void *data, xcb_connection_t *conn,
00107                                 xcb_destroy_notify_event_t *event);
00108 
00113 int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
00114                              xcb_window_t window, xcb_atom_t atom,
00115                              xcb_get_property_reply_t *prop);
00116 
00129 int handle_windowname_change_legacy(void *data, xcb_connection_t *conn,
00130                                     uint8_t state, xcb_window_t window,
00131                                     xcb_atom_t atom, xcb_get_property_reply_t
00132                                     *prop);
00133 
00138 int handle_windowclass_change(void *data, xcb_connection_t *conn, uint8_t state,
00139                               xcb_window_t window, xcb_atom_t atom,
00140                               xcb_get_property_reply_t *prop);
00141 
00142 
00147 int handle_expose_event(void *data, xcb_connection_t *conn,
00148                         xcb_expose_event_t *event);
00149 
00154 int handle_client_message(void *data, xcb_connection_t *conn,
00155                           xcb_client_message_event_t *event);
00156 
00161 int handle_window_type(void *data, xcb_connection_t *conn, uint8_t state,
00162                        xcb_window_t window, xcb_atom_t atom,
00163                        xcb_get_property_reply_t *property);
00164 
00173 int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state,
00174                         xcb_window_t window, xcb_atom_t name,
00175                         xcb_get_property_reply_t *reply);
00176 
00181 int handle_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t window,
00182                   xcb_atom_t name, xcb_get_property_reply_t *reply);
00183 
00191 int handle_transient_for(void *data, xcb_connection_t *conn, uint8_t state,
00192                          xcb_window_t window, xcb_atom_t name,
00193                          xcb_get_property_reply_t *reply);
00194 
00200 int handle_clientleader_change(void *data, xcb_connection_t *conn,
00201                                uint8_t state, xcb_window_t window,
00202                                xcb_atom_t name, xcb_get_property_reply_t *prop);
00203 
00204 #endif

Generated on Mon Aug 22 2011 for i3 by  doxygen 1.7.1