D16428: Support enabling numlock on startup
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin created this revision. Herald added a project: KWin. Herald added a subscriber: kwin. graesslin requested review of this revision. REVISION 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 REPOSITORY R108 KWin BRANCH numlock-support REVISION DETAIL https://phabricator.kde.org/D16428 AFFECTED FILES autotests/integration/keyboard_layout_test.cpp keyboard_input.cpp xkb.cpp xkb.h To: graesslin Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart