check window visibility at expose event
Summary:
it's possible that a window gets an expose event even if the qwindow
is not visible, this can cause problems like the window decoration
created too soon, before kwin's ShellClient is created, so
setting the decoration mode has no effect, it can give
windows that have for an instant the wrong geometry as it
includes a non existing decoration
Test Plan:
i now get the decoration client always being created after
the decoratininterface in kwin, so setting borders to none
actually works
Reviewers: Plasma, graesslin, davidedmundson
Reviewed By: Plasma, davidedmundson
Subscribers: davidedmundson, plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D6214