check window visibility at expose event

Authored by mart on Jun 13 2017, 3:32 PM.

Description

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

Details

Committed
martJun 15 2017, 5:04 PM
Reviewer
Plasma
Differential Revision
D6214: check window visibility at expose event
Parents
R135:1551f8b3dcde: Merge branch 'Plasma/5.10'
Branches
Unknown
Tags
Unknown