• Martin Flöser's avatar
    Fix shortcut triggering with shift+letter · 78a2732a
    Martin Flöser authored
    A shortcut with e.g. shift+w could not be triggered as shift is
    considered as consumed. It transforms the keysym to an uppercase variant
    thus it is consumed.
    This change checks for the condition that shift is pressed and is the
    only consumed modifier. If the current keysym is a letter the shift is
    removed from the consumed modifier again to still support the shortcut.
    BUG: 370341
    FIXED-IN: 5.8.2
    Reviewers: #kwin, #plasma_on_wayland
    Subscribers: plasma-devel, kwin
    Tags: #plasma_on_wayland, #kwin
    Differential Revision: https://phabricator.kde.org/D3015
keyboard_input.cpp 24.6 KB