[xscreensaverpoller] Flush after reset screensaver
ClosedPublic

Authored by anthonyfieroni on Dec 7 2018, 8:32 AM.

Details

Summary

XResetScreenSaver does not flush X message queue
https://gitlab.freedesktop.org/xorg/lib/libx11/issues/41

Test Plan

When display goes to dpms notification for low battery tries to turn on display (powerdevil call simulateUserActivity) but it ends up with one display blink.

Diff Detail

Repository
R274 KIdleTime
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
anthonyfieroni created this revision.Dec 7 2018, 8:32 AM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 7 2018, 8:32 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
anthonyfieroni requested review of this revision.Dec 7 2018, 8:32 AM
davidedmundson accepted this revision.Dec 7 2018, 11:02 AM
This revision is now accepted and ready to land.Dec 7 2018, 11:02 AM
This revision was automatically updated to reflect the committed changes.
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 7 2018, 12:21 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript