Summary: The problem of the badly rendered shadows in case of opening kickoff twice on Wayland is related to this. In that situation both the width and height are 0. The rendering to the image fails and creating the texture fails. This causes the flickering we see during rendering. This change now discards such a shadow with an invalid size. This is not fixing the actual problem of the shadow, but rather the symptom. Nevertheless it's an important change as it makes it at least not look fully broken. Reviewers: #kwin, #plasma_on_wayland Differential Revision: https://phabricator.kde.org/D1790remotes/origin/Plasma/5.7
parent
c65c9728d1
commit
d16d77f7fe
1 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue