Diffusion KWin bf99d9ffdd91

Introduce support for keyboard layout switching policies

Authored by graesslin on Apr 4 2017, 4:56 PM.

Description

Introduce support for keyboard layout switching policies

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

Reviewers: KWin, Plasma

Subscribers: plasma-devel, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D5301

Details

Committed
graesslinApr 22 2017, 6:15 AM
Differential Revision
D5301: Introduce support for keyboard layout switching policies
Parents
R108:a5735e19b99d: [platforms/x11] Do not grab touch events
Branches
Unknown
Tags
Unknown