]> git.sur5r.net Git - i3/i3/blob - include/window.h
Merge branch 'tree' into next
[i3/i3] / include / window.h
1 #ifndef _WINDOW_H
2 #define _WINDOW_H
3
4 /**
5  * Updates the WM_CLASS (consisting of the class and instance) for the
6  * given window.
7  *
8  */
9 void window_update_class(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
10
11 /**
12  * Updates the name by using _NET_WM_NAME (encoded in UTF-8) for the given
13  * window. Further updates using window_update_name_legacy will be ignored.
14  *
15  */
16 void window_update_name(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
17
18 /**
19  * Updates the name by using WM_NAME (encoded in COMPOUND_TEXT). We do not
20  * touch what the client sends us but pass it to xcb_image_text_8. To get
21  * proper unicode rendering, the application has to use _NET_WM_NAME (see
22  * window_update_name()).
23  *
24  */
25 void window_update_name_legacy(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
26
27 /**
28  * Updates the CLIENT_LEADER (logical parent window).
29  *
30  */
31 void window_update_leader(i3Window *win, xcb_get_property_reply_t *prop);
32
33 /**
34  * Updates the TRANSIENT_FOR (logical parent window).
35  *
36  */
37 void window_update_transient_for(i3Window *win, xcb_get_property_reply_t *prop);
38
39 /**
40  * Updates the _NET_WM_STRUT_PARTIAL (reserved pixels at the screen edges)
41  *
42  */
43 void window_update_strut_partial(i3Window *win, xcb_get_property_reply_t *prop);
44
45 #endif