Diffusion KWin 7c3a851b040e

Support enabling numlock on startup

Authored by graesslin on Oct 25 2018, 5:46 PM.

Description

Support enabling numlock on startup

Summary:
This change brings improved num lock support to KWin. The modifier state
is read and also mapped to Qt::KeyboardModifiers. Furthermore the input
config is read and the NumLock key is evaluated. If the requested state
does not match the current num lock state the state is swapped.

BUG: 375708
FIXED-IN: 5.15

Test Plan: New unit test added, no manual test due to lack of hardware

Subscribers: kwin

Tags: KWin

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

Details

Committed
graesslinNov 1 2018, 4:49 PM
Differential Revision
D16428: Support enabling numlock on startup
Parents
R108:7e8facc3fde8: [wayland] Use the new plasma virtual desktop protocol
Branches
Unknown
Tags
Unknown