[client] Perform ConnectionThread::roundtrip through QPA interface
ClosedPublic

Authored by graesslin on Mar 16 2016, 10:05 AM.

Details

Summary

In case the ConnectionThread is created from the QGuiApplication the
roundtrip is performed through a function provided by the QPA plugin.

If the QPA plugin does not provide such a function, the normal
wl_display_roundtrip is used.

This is mostly a helper for KWin. Plugins might call roundtrip from the
main gui thread which results in a dead freeze of KWin. By providing this
function through the native interface KWin can ensure it doesn't freeze
and the plugin still gets the functionality of the roundtrip.

Diff Detail

Repository
R127 KWayland
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 2794.Mar 16 2016, 10:05 AM
graesslin retitled this revision from to [client] Perform ConnectionThread::roundtrip through QPA interface.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptMar 16 2016, 10:05 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Mar 16 2016, 12:11 PM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Mar 16 2016, 12:11 PM
This revision was automatically updated to reflect the committed changes.