2 * vim:ts=4:sw=4:expandtab
4 * i3 - an improved dynamic tiling window manager
5 * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
7 * window.c: Updates window attributes (X11 hints/properties).
14 * Updates the WM_CLASS (consisting of the class and instance) for the
18 void window_update_class(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
21 * Updates the name by using _NET_WM_NAME (encoded in UTF-8) for the given
22 * window. Further updates using window_update_name_legacy will be ignored.
25 void window_update_name(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
28 * Updates the name by using WM_NAME (encoded in COMPOUND_TEXT). We do not
29 * touch what the client sends us but pass it to xcb_image_text_8. To get
30 * proper unicode rendering, the application has to use _NET_WM_NAME (see
31 * window_update_name()).
34 void window_update_name_legacy(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
37 * Updates the CLIENT_LEADER (logical parent window).
40 void window_update_leader(i3Window *win, xcb_get_property_reply_t *prop);
43 * Updates the TRANSIENT_FOR (logical parent window).
46 void window_update_transient_for(i3Window *win, xcb_get_property_reply_t *prop);
49 * Updates the _NET_WM_STRUT_PARTIAL (reserved pixels at the screen edges)
52 void window_update_strut_partial(i3Window *win, xcb_get_property_reply_t *prop);
55 * Updates the WM_WINDOW_ROLE
58 void window_update_role(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
61 * Updates the WM_HINTS (we only care about the input focus handling part).
64 void window_update_hints(i3Window *win, xcb_get_property_reply_t *prop);