2016-11-20 23:04:31 +01:00
|
|
|
#include "utils/string.cpp"
|
|
|
|
#include "x11/atoms.cpp"
|
|
|
|
#include "x11/connection.cpp"
|
|
|
|
#include "x11/xutils.cpp"
|
|
|
|
#include "x11/xlib.cpp"
|
2016-10-25 01:47:00 +02:00
|
|
|
|
|
|
|
int main() {
|
2016-11-19 06:22:44 +01:00
|
|
|
using namespace polybar;
|
2016-10-25 01:47:00 +02:00
|
|
|
|
|
|
|
"id"_test = [] {
|
2016-11-20 23:04:31 +01:00
|
|
|
connection& conn{configure_connection().create<connection&>()};
|
2016-10-25 01:47:00 +02:00
|
|
|
expect(conn.id(static_cast<xcb_window_t>(0x12345678)) == "0x12345678");
|
|
|
|
};
|
|
|
|
}
|