Fix shift key failure in krfb

This is a backport of KDE SVN commit 1164724
(cherry picked from commit 795ed72fdb)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent 43ad5796a8
commit 5346eb85de

@ -231,10 +231,10 @@ void KeyboardEvent::tweakModifiers(signed char mod, bool down) {
if(isShift && mod != 1) {
if(ModifierState & LEFTSHIFT)
XTestFakeKeyEvent(dpy, leftShiftCode,
!down, CurrentTime);
down, CurrentTime);
if(ModifierState & RIGHTSHIFT)
XTestFakeKeyEvent(dpy, rightShiftCode,
!down, CurrentTime);
down, CurrentTime);
}
if(!isShift && mod==1)

Loading…
Cancel
Save