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

Martin Gräßlin noreply at phabricator.kde.org
Thu Apr 20 18:12:51 UTC 2017


graesslin created this revision.
Restricted Application added a project: KWin.
Restricted Application added subscribers: kwin, plasma-devel.

REVISION 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

REPOSITORY
  R108 KWin

BRANCH
  no-approach-touch

REVISION DETAIL
  https://phabricator.kde.org/D5528

AFFECTED FILES
  plugins/platforms/x11/standalone/edge.cpp

To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, spstarr, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170420/efb57a65/attachment-0001.html>


More information about the Plasma-devel mailing list