Diffusion KWin 78a2732a9a42

Fix shortcut triggering with shift+letter

Authored by graesslin on Oct 11 2016, 7:47 AM.

Description

Fix shortcut triggering with shift+letter

Summary:
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

Details

Committed
graesslinOct 17 2016, 6:13 AM
Differential Revision
D3015: Fix shortcut triggering with shift+letter
Parents
R108:db95b96854e5: [kwinrules] Hide all autogroup related widgets
Branches
Unknown
Tags
Unknown