51d8f289fa
Add module to display title of active window. Requires WM with support for the _NET_ACTIVE_WINDOW hint. Ref #84
16 lines
289 B
C++
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
|