Commit 6220f130 authored by Christian Beier's avatar Christian Beier Committed by Johannes Schindelin

LinuxVNC: Fix for no input possible because of ctrl key being stuck.

Issue was reported as Debian bug ##555988,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555988Signed-off-by: 's avatarChristian Beier <dontmind@freeshell.org>
Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 5cbe6126
......@@ -62,7 +62,8 @@ void do_key(rfbBool down,rfbKeySym keySym,rfbClientPtr cl)
}
}
} else if(keySym==XK_Control_L || keySym==XK_Control_R)
isControl--;
if(isControl>0)
isControl--;
}
/* these colours are from linux kernel drivers/char/console.c */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment