summaryrefslogtreecommitdiffstats
path: root/common/rfb/VNCSConnectionST.cxx
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2010-02-10 10:05:56 +0000
committerPeter Åstrand <astrand@cendio.se>2010-02-10 10:05:56 +0000
commit29aba9e189fe8fa23cf052886af46d9fd8665f96 (patch)
tree14ce9fab7c4a6301404081fca3310b9e5d0cf616 /common/rfb/VNCSConnectionST.cxx
parent66a2a93ed5db365064a56adca72a90870a61198c (diff)
downloadtigervnc-29aba9e189fe8fa23cf052886af46d9fd8665f96.tar.gz
tigervnc-29aba9e189fe8fa23cf052886af46d9fd8665f96.zip
Reverted the second part of 3971. I suspect that this code is actually
broken, so let's keep the warning until we know it's correct. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3975 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCSConnectionST.cxx')
-rw-r--r--common/rfb/VNCSConnectionST.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/VNCSConnectionST.cxx b/common/rfb/VNCSConnectionST.cxx
index c19b879d..05796320 100644
--- a/common/rfb/VNCSConnectionST.cxx
+++ b/common/rfb/VNCSConnectionST.cxx
@@ -804,7 +804,7 @@ void VNCSConnectionST::setStatus(int status)
accessRights = accessRights | AccessPtrEvents | AccessKeyEvents | AccessView;
break;
case 1:
- accessRights = accessRights & (!(AccessPtrEvents | AccessKeyEvents) | AccessView);
+ accessRights = accessRights & !(AccessPtrEvents | AccessKeyEvents) | AccessView;
break;
case 2:
accessRights = accessRights & !(AccessPtrEvents | AccessKeyEvents | AccessView);