#pragma once #include #include "common.hpp" POLYBAR_NS namespace icccm_util { string get_wm_name(xcb_connection_t* c, xcb_window_t w); string get_reply_string(xcb_icccm_get_text_property_reply_t* reply); void set_wm_name(xcb_connection_t* c, xcb_window_t w, const char* wmname, size_t l, const char* wmclass, size_t l2); void set_wm_protocols(xcb_connection_t* c, xcb_window_t w, vector flags); } POLYBAR_NS_END