X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=include%2Fwindow.h;h=77e3f48f2b0caca04c08a1ecae328b88256c76f9;hp=5f8b933bd86fe8e4f5b3a558738daea755fe28fd;hb=HEAD;hpb=884214f14fdbd0a4a368d2a36d5e50324fa1d52a diff --git a/include/window.h b/include/window.h index 5f8b933b..77e3f48f 100644 --- a/include/window.h +++ b/include/window.h @@ -9,6 +9,14 @@ */ #pragma once +#include + +/** + * Frees an i3Window and all its members. + * + */ +void window_free(i3Window *win); + /** * Updates the WM_CLASS (consisting of the class and instance) for the * given window. @@ -56,6 +64,12 @@ void window_update_strut_partial(i3Window *win, xcb_get_property_reply_t *prop); */ void window_update_role(i3Window *win, xcb_get_property_reply_t *prop, bool before_mgmt); +/** + * Updates the _NET_WM_WINDOW_TYPE property. + * + */ +void window_update_type(i3Window *window, xcb_get_property_reply_t *reply); + /** * Updates the WM_HINTS (we only care about the input focus handling part). *