i3
window.h
Go to the documentation of this file.
1 /*
2  * vim:ts=4:sw=4:expandtab
3  *
4  * i3 - an improved dynamic tiling window manager
5  * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE)
6  *
7  * window.c: Updates window attributes (X11 hints/properties).
8  *
9  */
10 #ifndef I3_WINDOW_H
11 #define I3_WINDOW_H
12 
18 void window_update_class(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
19 
25 void window_update_name(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
26 
34 void window_update_name_legacy(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
35 
40 void window_update_leader(i3Window *win, xcb_get_property_reply_t *prop);
41 
46 void window_update_transient_for(i3Window *win, xcb_get_property_reply_t *prop);
47 
52 void window_update_strut_partial(i3Window *win, xcb_get_property_reply_t *prop);
53 
58 void window_update_role(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt);
59 
64 void window_update_hints(i3Window *win, xcb_get_property_reply_t *prop);
65 
66 #endif
void window_update_leader(i3Window *win, xcb_get_property_reply_t *prop)
Updates the CLIENT_LEADER (logical parent window).
Definition: window.c:125
void window_update_strut_partial(i3Window *win, xcb_get_property_reply_t *prop)
Updates the _NET_WM_STRUT_PARTIAL (reserved pixels at the screen edges)
Definition: window.c:173
void window_update_role(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt)
Updates the WM_WINDOW_ROLE.
Definition: window.c:198
A 'Window' is a type which contains an xcb_window_t and all the related information (hints like _NET_...
Definition: data.h:313
void window_update_name(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt)
Updates the name by using _NET_WM_NAME (encoded in UTF-8) for the given window.
Definition: window.c:56
void window_update_hints(i3Window *win, xcb_get_property_reply_t *prop)
Updates the WM_HINTS (we only care about the input focus handling part).
Definition: window.c:231
void window_update_transient_for(i3Window *win, xcb_get_property_reply_t *prop)
Updates the TRANSIENT_FOR (logical parent window).
Definition: window.c:149
void window_update_name_legacy(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt)
Updates the name by using WM_NAME (encoded in COMPOUND_TEXT).
Definition: window.c:88
void window_update_class(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt)
Updates the WM_CLASS (consisting of the class and instance) for the given window. ...
Definition: window.c:19