2 * vim:ts=4:sw=4:expandtab
4 * i3 - an improved dynamic tiling window manager
6 * © 2009 Michael Stapelberg and contributors
8 * See file LICENSE for license information.
15 * Updates _NET_CURRENT_DESKTOP with the current desktop number.
17 * EWMH: The index of the current desktop. This is always an integer between 0
18 * and _NET_NUMBER_OF_DESKTOPS - 1.
21 void ewmh_update_current_desktop();
24 * Updates _NET_ACTIVE_WINDOW with the currently focused window.
26 * EWMH: The window ID of the currently active window or None if no window has
30 void ewmh_update_active_window(xcb_window_t window);
33 * Updates the workarea for each desktop.
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.
40 void ewmh_update_workarea();
43 * Updates the _NET_CLIENT_LIST_STACKING hint. Necessary to move tabs in
46 * EWMH: These arrays contain all X Windows managed by the Window Manager.
47 * _NET_CLIENT_LIST has initial mapping order, starting with the oldest window.
48 * _NET_CLIENT_LIST_STACKING has bottom-to-top stacking order. These properties
49 * SHOULD be set and updated by the Window Manager.
52 void ewmh_update_client_list_stacking(xcb_window_t *stack, int num_windows);