polybar-dwm/include/x11/icccm.hpp
Michael Carlberg 51d8f289fa feat(xwindow): New module "xwindow"
Add module to display title of active window.
Requires WM with support for the _NET_ACTIVE_WINDOW hint.

Ref #84
2016-11-19 04:05:13 +01:00

16 lines
289 B
C++

#pragma once
#include <xcb/xcb_icccm.h>
#include "common.hpp"
#include "x11/connection.hpp"
LEMONBUDDY_NS
namespace icccm_util {
string get_wm_name(xcb_connection_t* conn, xcb_window_t win);
string get_reply_string(xcb_icccm_get_text_property_reply_t* reply);
}
LEMONBUDDY_NS_END