Fix shift key failure in krfb

This is a backport of KDE SVN commit 1164724
pull/1/head
Timothy Pearson 11 years ago
parent 63fb3cb272
commit 795ed72fdb

@ -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