Properly block the edge also for touch screen edges

Summary:
There was a regression introduced with bug fix eec6afe6 which added
a for pointer events only check also to doUpdateBlocking. Do to that
the edge blocking mechanism didn't work for touch edges.

BUG: 380476
FIXED-IN: 5.10.3

Test Plan:
verified with xwininfo that there is no longer a window when
in full screen. Activated edges through touch and pointer

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D6304
This commit is contained in:
Martin Flöser 2017-06-20 21:37:56 +02:00
parent 97fa72ee48
commit 6267d59731

View file

@ -130,9 +130,6 @@ void WindowBasedEdge::doUpdateBlocking()
if (!isReserved()) {
return;
}
if (!activatesForPointer()) {
return;
}
if (isBlocked()) {
m_window.unmap();
m_approachWindow.unmap();