]> git.sur5r.net Git - i3/i3/blob - include/handlers.h
Implement handling the size hints so that aspect ratio is used correctly, fix renderi...
[i3/i3] / include / handlers.h
1 /*
2  * vim:ts=8:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  *
6  * (c) 2009 Michael Stapelberg and contributors
7  *
8  * See file LICENSE for license information.
9  *
10  */
11 #ifndef _HANDLERS_H
12 #define _HANDLERS_H
13
14 int handle_key_release(void *ignored, xcb_connection_t *conn, xcb_key_release_event_t *event);
15 int handle_key_press(void *ignored, xcb_connection_t *conn, xcb_key_press_event_t *event);
16 int handle_enter_notify(void *ignored, xcb_connection_t *conn, xcb_enter_notify_event_t *event);
17 int handle_button_press(void *ignored, xcb_connection_t *conn, xcb_button_press_event_t *event);
18 int handle_map_notify_event(void *prophs, xcb_connection_t *conn, xcb_map_notify_event_t *event);
19 int handle_configure_event(void *prophs, xcb_connection_t *conn, xcb_configure_notify_event_t *event);
20 int handle_windowname_change(void *data, xcb_connection_t *conn, uint8_t state,
21                                 xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *prop);
22 int handle_expose_event(void *data, xcb_connection_t *conn, xcb_expose_event_t *event);
23 int handle_client_message(void *data, xcb_connection_t *conn, xcb_client_message_event_t *event);
24 int window_type_handler(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t window, xcb_atom_t atom, xcb_get_property_reply_t *property);
25 int handle_normal_hints(void *data, xcb_connection_t *conn, uint8_t state, xcb_window_t window,
26                         xcb_atom_t name, xcb_get_property_reply_t *reply);
27
28 #endif