mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
14 lines
345 B
C++
14 lines
345 B
C++
#include "utils/string.cpp"
|
|
#include "x11/atoms.cpp"
|
|
#include "x11/connection.cpp"
|
|
#include "x11/xutils.cpp"
|
|
#include "x11/xlib.cpp"
|
|
|
|
int main() {
|
|
using namespace polybar;
|
|
|
|
"id"_test = [] {
|
|
connection& conn{configure_connection().create<connection&>()};
|
|
expect(conn.id(static_cast<xcb_window_t>(0x12345678)) == "0x12345678");
|
|
};
|
|
}
|