Skip to content
Commit d4940fe6 authored by Marco Martin's avatar Marco Martin
Browse files

make shadows work on wayland

Summary:
since from Qt 5.8 QtWayland destroys its surfaces every time
a window gets hidden and recreates them again when is shown
(that's how the protocol is defined) install the shadows
every time the window is shown, using a map to keep track of surfaces, in order to delete them on window hide and avoid leaks

Test Plan: popup menus have correct shadows on wayland now

Reviewers: #plasma, hpereiradacosta

Subscribers: anthonyfieroni, davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D5910
parent 610b6f13
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment