Only create damage_handle for Toplevel's without a Wayland Surface
ClosedPublic

Authored by graesslin on Apr 25 2016, 8:38 AM.

Details

Summary

If the Toplevel has a Wayland Surface we don't want an X11 damage
handle. Ideally we would just check for the Surface and get rid of
the operation mode check. But setupCompositing is called for Xwayland
clients before the surface is set.

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 3505.Apr 25 2016, 8:38 AM
graesslin retitled this revision from to Only create damage_handle for Toplevel's without a Wayland Surface.
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 TranscriptApr 25 2016, 8:38 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.May 2 2016, 1:06 PM
sebas added a reviewer: sebas.
This revision is now accepted and ready to land.May 2 2016, 1:06 PM
This revision was automatically updated to reflect the committed changes.