[platforms/drm] Apply new global position on DrmOutput for a changeset
ClosedPublic

Authored by graesslin on Jun 14 2016, 8:58 AM.

Details

Summary

When we get a configuration request, we also need to update the global
position on the DrmOutput, otherwise Wayland will know about the new
position, but KWin internally does not.

In addition we also need to trigger the changed signal on KWin::Screens,
so that internally code can react on the change.

With this change configuring layout of connected screens in KScreen
does work also in KWin.

Diff Detail

Repository
R108 KWin
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 4436.Jun 14 2016, 8:58 AM
graesslin retitled this revision from to [platforms/drm] Apply new global position on DrmOutput for a changeset.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptJun 14 2016, 8:58 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
sebas accepted this revision.Jun 14 2016, 2:17 PM
sebas edited edge metadata.

Cool!

This revision is now accepted and ready to land.Jun 14 2016, 2:17 PM
This revision was automatically updated to reflect the committed changes.