]> git.sur5r.net Git - i3/i3/blob - include/xcb.h
Implement fullscreen (_NET_WM_STATE_FULLSCREEN)
[i3/i3] / include / xcb.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 _XCB_H
12 #define _XCB_H
13
14 #define _NET_WM_STATE_REMOVE 0
15 #define _NET_WM_STATE_ADD 1
16 #define _NET_WM_STATE_TOGGLE 2
17
18 enum { _NET_SUPPORTED = 0,
19         _NET_SUPPORTING_WM_CHECK = 1,
20         _NET_WM_NAME = 2,
21         _NET_WM_STATE_FULLSCREEN = 3,
22         _NET_WM_STATE = 4,
23         UTF8_STRING = 5
24 };
25
26 uint32_t get_colorpixel(xcb_connection_t *conn, xcb_window_t window, char *hex);
27
28 #endif