summaryrefslogtreecommitdiffstats
path: root/krfb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 14:25:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 14:25:59 -0600
commit795ed72fdb980600d4da57fdf9e689cdbbfc9a9a (patch)
tree5a0cfdc2eea95d47edfc873d58c403a54ea455eb /krfb
parent63fb3cb272a00930f8da35fe5d6b95d6eb0dcec7 (diff)
downloadtdenetwork-795ed72fdb980600d4da57fdf9e689cdbbfc9a9a.tar.gz
tdenetwork-795ed72fdb980600d4da57fdf9e689cdbbfc9a9a.zip
Fix shift key failure in krfb
This is a backport of KDE SVN commit 1164724
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)