2 * vim:ts=4:sw=4:expandtab
9 * Initializes the X11 part for the given container. Called exactly once for
10 * every container from con_new().
13 void x_con_init(Con *con);
16 * Moves a child window from Container src to Container dest.
19 void x_move_win(Con *src, Con *dest);
22 * Reparents the child window of the given container (necessary for sticky
23 * containers). The reparenting happens in the next call of x_push_changes().
26 void x_reparent_child(Con *con, Con *old);
29 * Re-initializes the associated X window state for this container. You have
30 * to call this when you assign a client to an empty container to ensure that
31 * its state gets updated correctly.
34 void x_reinit(Con *con);
37 * Kills the window decoration associated with the given container.
40 void x_con_kill(Con *con);
43 * Kills the given X11 window using WM_DELETE_WINDOW (if supported).
46 void x_window_kill(xcb_window_t window);
49 * Draws the decoration of the given container onto its parent.
52 void x_draw_decoration(Con *con);
55 * Pushes all changes (state of each node, see x_push_node() and the window
59 void x_push_changes(Con *con);
62 * Raises the specified container in the internal stack of X windows. The
63 * next call to x_push_changes() will make the change visible in X11.
66 void x_raise_con(Con *con);
69 * Sets the WM_NAME property (so, no UTF8, but used only for debugging anyways)
70 * of the given name. Used for properly tagging the windows for easily spotting
71 * i3 windows in xwininfo -root -all.
74 void x_set_name(Con *con, const char *name);