Summary: This change addresses the problem of the incorrectly rendered shadows when opening a window (e.g. Kickoff) a second time. In case of e.g. Kickoff not all elements are set, thus e.g. left might be 0, but right has a value. So for calculating the height the maximum of the values must be used. Test Plan: Opened Kickoff and systray a few times Reviewers: #kwin, #plasma_on_wayland Subscribers: plasma-devel, kwin Tags: #plasma_on_wayland, #kwin Differential Revision: https://phabricator.kde.org/D1792remotes/origin/Plasma/5.7
parent
d16d77f7fe
commit
2cc47004c3
1 changed files with 14 additions and 5 deletions
Loading…
Reference in new issue