mirror of
https://github.com/polybar/polybar.git
synced 2026-02-08 01:05:39 +00:00
refactor: Cleanup
This commit is contained in:
@ -58,7 +58,7 @@ screen::screen(connection& conn, signal_emitter& emitter, const logger& logger,
|
||||
|
||||
// Wait until the proxy window has been mapped
|
||||
using evt = xcb_map_notify_event_t;
|
||||
m_connection.wait_for_response<evt, XCB_MAP_NOTIFY>([&](const evt& evt) -> bool { return evt.window == m_proxy; });
|
||||
m_connection.wait_for_response<evt, XCB_MAP_NOTIFY>([&](const evt* evt) -> bool { return evt->window == m_proxy; });
|
||||
m_connection.clear_event_mask(m_root);
|
||||
|
||||
// Finally attach the sink the process randr events
|
||||
|
||||
Reference in New Issue
Block a user