Don't map screenedge approach window if edge is only used for touch
ClosedPublic

Authored by graesslin on Apr 20 2017, 6:12 PM.

Details

Summary

Another regression from enabling touch support on X11.
The approach window for pointer input gets unmapped as soon as the mouse
enters the window. This ensures that mouse motion events are not stolen
from other applications. But with the touch events we did not even react
on the enter event if it's not activated for pointer. The result was an
area around the screenedge being blocked for pointer input.

This change only creates and maps the approach window if the edge is
activated for pointer input.

BUG: 378951

Test Plan

Activated edges through pointer and touch, reconfigured and tested
motion events

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Apr 20 2017, 6:12 PM
Restricted Application added a project: KWin. · View Herald TranscriptApr 20 2017, 6:12 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
mart accepted this revision.Apr 21 2017, 2:49 PM
This revision is now accepted and ready to land.Apr 21 2017, 2:49 PM
This revision was automatically updated to reflect the committed changes.