1d4e30c4be
* Use m_connection.poll_for_event * fix: Handle X events before polling for IO Polling the XCB file descriptor for X events doesn't detect events that are already in XCB's event queue but not yet handled. If this happens, the eventloop polls for IO and the queued events wait until another event arrives, causing some desyncs in the bar. This can easily happen if something (e.g. a click event) triggers some xcb calls, which as a consequence buffer some incoming events. We "fix" this by adding a libuv prepare handle (which runs right before polling for IO) that processes pending X events. |
||
---|---|---|
.. | ||
i3ipcpp@86ddf7102c | ||
xpp@343dc77d50 | ||
CMakeLists.txt |