[XKB] need to kick hotkeys on release, not press
Submitted by Vitaly Shishakov
Assigned to Xorg Project Team
Description
I used to use Ctrl-Shift combination to switch keyboard layouts (ru <-->
us)
but in this case i cant use any of the Ctrl-Shift-* hotkeys in any software i try.
I noticed, that the keyboard layout becomes swithced as soon an both keys are DOWN --
pressing any other key is not treated as Ctrl-Shift-<key>
combination.
For example -- in Windows i also use Ctrl-Shift to switch layouts, but there, the layout
becomes switched only when both SHIFT and CTRL keys are UP, and no other key was
pressed while they were down -- in that case the hole combination is treates as
Ctrl-Shift-<key>
combination, and the layout is not changed.
see also: http://bugs.kde.org/show_bug.cgi?id=59303
I use the following lines in XF86Config:
Section "InputDevice" Driver "Keyboard" Identifier "Keyboard[0]" Option "Protocol" "Standard" Option "XkbLayout" "us,ru" Option "XkbModel" "pc104" Option "XkbOptions" "grp:ctrl_shift_toggle" Option "XkbRules" "xfree86" Option "XkbVariant" ",winkeys" EndSection
Version: git