]> git.sur5r.net Git - i3/i3/blob - include/ewmh.h
Merge branch 'next'
[i3/i3] / include / ewmh.h
1 /*
2  * vim:ts=8:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  *
6  * © 2009 Michael Stapelberg and contributors
7  *
8  * See file LICENSE for license information.
9  *
10  */
11 #ifndef _EWMH_C
12 #define _EWMH_C
13
14 /**
15  * Updates _NET_CURRENT_DESKTOP with the current desktop number.
16  *
17  * EWMH: The index of the current desktop. This is always an integer between 0
18  * and _NET_NUMBER_OF_DESKTOPS - 1.
19  *
20  */
21 void ewmh_update_current_desktop();
22
23 /**
24  * Updates _NET_ACTIVE_WINDOW with the currently focused window.
25  *
26  * EWMH: The window ID of the currently active window or None if no window has
27  * the focus.
28  *
29  */
30 void ewmh_update_active_window(xcb_window_t window);
31
32 /**
33  * Updates the workarea for each desktop.
34  *
35  * EWMH: Contains a geometry for each desktop. These geometries specify an area
36  * that is completely contained within the viewport. Work area SHOULD be used by
37  * desktop applications to place desktop icons appropriately.
38  *
39  */
40 void ewmh_update_workarea();
41
42 #endif