Don't call xcb_damage_subtract for Wayland windows
ClosedPublic

Authored by graesslin on Apr 25 2016, 1:36 PM.

Details

Summary

Instead of checking the operation mode for X11, we check whether the
damage_handle is created. This fixes a bad damage warning for Wayland
windows in kwin_x11.

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 3512.Apr 25 2016, 1:36 PM
graesslin retitled this revision from to Don't call xcb_damage_subtract for Wayland windows.
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, 1:36 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.Apr 28 2016, 9:14 AM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Apr 28 2016, 9:14 AM
This revision was automatically updated to reflect the committed changes.