Skip to content

Stop using stale timestamps (x11)

Roland Pallai requested to merge rpallai/kwin:bug-347153 into master

QX11Info::getTimestamp() is not a reliable timestamp source for our precious needs as it has an undocumented (but known - see QTBUG-56595) behavior that it reports a timestamp from an earlier call if previous reply of the server is still in the event queue.

This new one is based on Qt's QXcbConnection::getTimestamp() but always returns the latest timestamp.

BUG: 347153

Edited by Roland Pallai

Merge request reports