Skip to content

Do not update the mask if we do not have a surface

Aleix Pol Gonzalez requested to merge apol/qtwayland:work/window-mask into kde/5.15

mMask serves as a cache to remember what we've sent, the source of truth for the value is window()->mask(). No need to store values that we are going to discard, because it will confuse the state of newly created windows.

Change-Id: I6aa3da82c7f09c7ef90d0f7060f292fb042730f0 Pick-to: 5.15 6.2 Reviewed-by: David Edmundson (cherry picked from commit 962f8719)

Merge request reports