summaryrefslogtreecommitdiffstats
path: root/x11vnc/keyboard.c
diff options
context:
space:
mode:
authorrunge <[email protected]>2009-10-08 17:30:36 -0400
committerrunge <[email protected]>2009-10-08 17:30:36 -0400
commit3129ef668abf2b3f9b624bdb4c5ac0365ae2583b (patch)
treea2f7edda96dd11da79f7fbbab886625caaa41ae8 /x11vnc/keyboard.c
parent169ef3a0429b3e21720856024076e1941221e987 (diff)
downloadlibtdevnc-3129ef668abf2b3f9b624bdb4c5ac0365ae2583b.tar.gz
libtdevnc-3129ef668abf2b3f9b624bdb4c5ac0365ae2583b.zip
Huge number of changes, see x11vnc/ChangeLog
Diffstat (limited to 'x11vnc/keyboard.c')
-rw-r--r--x11vnc/keyboard.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11vnc/keyboard.c b/x11vnc/keyboard.c
index c6dec3c..9aee9ca 100644
--- a/x11vnc/keyboard.c
+++ b/x11vnc/keyboard.c
@@ -2045,7 +2045,7 @@ static void xkb_tweak_keyboard(rfbBool down, rfbKeySym keysym,
* why nothing needs to be done with the modifier, see below.
*
* sentmods[] is the corresponding keycode to use
- * to acheive the needmods[] requirement for the bit.
+ * to achieve the needmods[] requirement for the bit.
*/
for (i=0; i<8; i++) {
@@ -2780,6 +2780,11 @@ void get_allowed_input(rfbClientPtr client, allowed_input_t *input) {
input->files = 0;
if (! client) {
+ input->keystroke = 1;
+ input->motion = 1;
+ input->button = 1;
+ input->clipboard = 1;
+ input->files = 1;
return;
}