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
This commit is contained in:
Michael Carlberg
2016-11-19 04:03:18 +01:00
parent b921225487
commit 51d8f289fa
21 changed files with 445 additions and 16 deletions

View File

@ -61,6 +61,13 @@ namespace modules {
update();
}
/**
* Disconnect from the event registry
*/
void xbacklight_module::teardown() {
m_connection.detach_sink(this, 1);
}
/**
* Handler for XCB_RANDR_NOTIFY events
*/