X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=include%2Fx.h;h=8b7664f2616f6f52d47c4a694d756c70af9bd84c;hp=07f8a725cfb3a8e3c52eefbfd94246b28951bd6d;hb=HEAD;hpb=b0990c183ae1e25aaddb2af40eeb11eff1a208af diff --git a/include/x.h b/include/x.h index 07f8a725..8b7664f2 100644 --- a/include/x.h +++ b/include/x.h @@ -2,7 +2,7 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2011 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * x.c: Interface to X11, transfers our in-memory state to X11 (see also * render.c). Basically a big state machine. @@ -10,6 +10,8 @@ */ #pragma once +#include + /** Stores the X11 window ID of the currently focused window */ extern xcb_window_t focused_id; @@ -18,7 +20,7 @@ extern xcb_window_t focused_id; * every container from con_new(). * */ -void x_con_init(Con *con, uint16_t depth); +void x_con_init(Con *con); /** * Moves a child window from Container src to Container dest. @@ -47,6 +49,12 @@ void x_reinit(Con *con); */ void x_con_kill(Con *con); +/* + * Completely reinitializes the container's frame, without destroying the old window. + * + */ +void x_con_reframe(Con *con); + /** * Returns true if the client supports the given protocol atom (like WM_DELETE_WINDOW) *