Sync opacity from an internal QWindow to its ShellClient
ClosedPublic

Authored by graesslin on Jan 3 2017, 6:35 AM.

Details

Summary

This change adds support for opacity on a KWin internal QWindow.
Calling QWindow::setOpacity syncs the value to the ShellClient
representation of the QWindow.

This is needed for fading out the OnScreenNotification on mouse
over.

Test Plan

Added auto test and manual test

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 9626.Jan 3 2017, 6:35 AM
graesslin retitled this revision from to Sync opacity from an internal QWindow to its ShellClient.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptJan 3 2017, 6:35 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Jan 3 2017, 3:28 PM
mart added a reviewer: mart.
This revision is now accepted and ready to land.Jan 3 2017, 3:28 PM
This revision was automatically updated to reflect the committed changes.