summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
Diffstat (limited to 'krfb')
-rw-r--r--krfb/krfb/rfbcontroller.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/krfb/krfb/rfbcontroller.cc b/krfb/krfb/rfbcontroller.cc
index 57fb1cbd..0db57514 100644
--- a/krfb/krfb/rfbcontroller.cc
+++ b/krfb/krfb/rfbcontroller.cc
@@ -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)