summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Srb <michalsrb@gmail.com>2015-11-12 15:03:28 +0200
committerMichal Srb <michalsrb@gmail.com>2015-11-12 15:03:28 +0200
commit89d6a854ce7876f16f43e82671cf66d5732b48a2 (patch)
tree869f9b6e724bfc75ae3d522d3f5fa5aeae2f3294
parent36eac99929c4313c8a9b789be2f3dcebd37dcf3a (diff)
downloadtigervnc-89d6a854ce7876f16f43e82671cf66d5732b48a2.tar.gz
tigervnc-89d6a854ce7876f16f43e82671cf66d5732b48a2.zip
Fix inverted logic in ProcVncExtSetParam.
-rw-r--r--unix/xserver/hw/vnc/vncExt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/vncExt.c b/unix/xserver/hw/vnc/vncExt.c
index 2f5ff5c7..43794dad 100644
--- a/unix/xserver/hw/vnc/vncExt.c
+++ b/unix/xserver/hw/vnc/vncExt.c
@@ -196,7 +196,7 @@ static int ProcVncExtSetParam(ClientPtr client)
rep.success = 1;
// Send DesktopName update if desktop name has been changed
- if (strncasecmp(param, "desktop", 7) != 0)
+ if (strncasecmp(param, "desktop", 7) == 0)
vncUpdateDesktopName();
deny: