Forward showing desktop only to rootInfo if it changed
ClosedPublic

Authored by graesslin on Aug 3 2017, 3:16 PM.

Details

Summary

There was a property change for whenever a window gets activated although
that doesn't change the state.

In addition a nullptr check for rootInfo is added for the future no
XWayland case.

Test Plan

run xev -root to verify the property does not get updated
needlessly

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 created this revision.Aug 3 2017, 3:16 PM
Restricted Application added a project: KWin. · View Herald TranscriptAug 3 2017, 3:16 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Aug 19 2017, 3:28 PM
This revision is now accepted and ready to land.Aug 19 2017, 3:28 PM
This revision was automatically updated to reflect the committed changes.