[Differential] [Request, 336 lines] D1330: [server] Pass keyboard focus to child surface on pointer click

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Wed Apr 6 11:59:04 UTC 2016


graesslin created this revision.
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  [server] Split KeyboardInterface::Private into dedicated header
  
  [server] Pass keyboard focus to child surface on pointer click
  
  If the focused pointer and keyboard surface is the same we use pointer
  clicks as a hint to which child surface should have keyboard focus.
  
  Keyboard focus handling for sub surfaces is rather limited overall.
  We just don't have a good model on how to determine which child surface
  should get the keyboard focus. When passing focus to a surface there
  is no way to know which of the sub-surfaces should get the focus.
  Ideally the client should handle this, but that's just not the case.
  
  The best we have is a reference through the pointer. But that's of
  course also limited. Keyboard focus passed to the surface for another
  reason (Alt+Tab) cannot select the proper sub-surface without interaction
  from another input device.

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  keyboard-sub-surface-arc

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

AFFECTED FILES
  autotests/client/test_wayland_seat.cpp
  src/server/keyboard_interface.cpp
  src/server/keyboard_interface_p.h
  src/server/pointer_interface.cpp
  src/server/pointer_interface_p.h
  src/server/seat_interface.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, Plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160406/b760ba44/attachment.html>


More information about the Plasma-devel mailing list