polybar-dwm/include/x11/icccm.hpp

18 lines
456 B
C++
Raw Normal View History

#pragma once
#include <xcb/xcb_icccm.h>
#include "common.hpp"
2016-11-19 05:22:44 +00:00
POLYBAR_NS
namespace icccm_util {
2017-01-24 07:49:27 +00:00
string get_wm_name(xcb_connection_t* c, xcb_window_t w);
string get_reply_string(xcb_icccm_get_text_property_reply_t* reply);
2017-01-24 07:49:27 +00:00
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<xcb_atom_t> flags);
}
2016-11-19 05:22:44 +00:00
POLYBAR_NS_END