D5301: Introduce support for keyboard layout switching policies

Martin Gräßlin noreply at phabricator.kde.org
Tue Apr 4 17:02:42 UTC 2017


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

REVISION SUMMARY
  This change introduces the initial support for keyboard layout switching
  policies like in the X11 session. This first change only adds support for
  Global and Virtual Desktop policy. This means the current layout is
  stored in context to the current virtual desktop. Whenever one changes
  the virtual desktop the previous layout is restored. If the user has not
  yet navigated to this virtual desktop a switch to default layout is
  performed.
  
  This is the first code interacting with the new Virtual Desktop API which
  is not based on integer ids. To fully support this the API is slightly
  extended.

TEST PLAN
  Added test case

REPOSITORY
  R108 KWin

BRANCH
  keyboard-layout-policy-desktop

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

AFFECTED FILES
  CMakeLists.txt
  autotests/integration/keyboard_layout_test.cpp
  keyboard_layout.cpp
  keyboard_layout.h
  keyboard_layout_switching.cpp
  keyboard_layout_switching.h
  virtualdesktops.cpp
  virtualdesktops.h

To: graesslin, #kwin, #plasma
Cc: plasma-devel, kwin, 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/20170404/66259d12/attachment.html>


More information about the Plasma-devel mailing list