X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fxcb.h;h=7dab5d100c8a39014dcc5d9f11db6588d853d3ab;hb=67ec2333ee659e4b8ce90e75b94a518a2dee81c0;hp=9f4ea91fd8f29733ff4549ad2d8fcaa9af386ece;hpb=b91cd347e4a40d6d160cb74f1adf61bb7bb9a2bc;p=i3%2Fi3 diff --git a/include/xcb.h b/include/xcb.h index 9f4ea91f..7dab5d10 100644 --- a/include/xcb.h +++ b/include/xcb.h @@ -2,7 +2,7 @@ * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager - * © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE) + * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * * xcb.c: Helper functions for easier usage of XCB * @@ -108,6 +108,16 @@ void xcb_raise_window(xcb_connection_t *conn, xcb_window_t window); */ void xcb_set_window_rect(xcb_connection_t *conn, xcb_window_t window, Rect r); +/** + * Returns the first supported _NET_WM_WINDOW_TYPE atom. + * + */ +xcb_atom_t xcb_get_preferred_window_type(xcb_get_property_reply_t *reply); + +/** + * Returns true if the given reply contains the given data. + * + */ bool xcb_reply_contains_atom(xcb_get_property_reply_t *prop, xcb_atom_t atom); /**