Fix shift key failure in krfb

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

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

Loading…
Cancel
Save