]> git.sur5r.net Git - i3/i3/blob - include/util.h
Implement Xinerama (workspaces have a specific screen)
[i3/i3] / include / util.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 #include <xcb/xcb.h>
12
13 #include "data.h"
14
15 #ifndef _UTIL_H
16 #define _UTIL_H
17
18 int min(int a, int b);
19 int max(int a, int b);
20 void start_application(const char *command);
21 void check_error(xcb_connection_t *connection, xcb_void_cookie_t cookie, char *err_message);
22 void set_focus(xcb_connection_t *conn, Client *client);
23 void warp_pointer_into(xcb_connection_t *connection, Client *client);
24 void toggle_fullscreen(xcb_connection_t *conn, Client *client);
25
26 #endif