• Martin Flöser's avatar
    Support enabling numlock on startup · 7c3a851b
    Martin Flöser authored
    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
    7c3a851b
keyboard_input.cpp 8.61 KB