diff options
author | Nicola Ruggero <nicola@nxnt.org> | 2010-10-26 13:08:28 +0200 |
---|---|---|
committer | Nicola Ruggero <nicola@nxnt.org> | 2010-10-26 13:08:28 +0200 |
commit | 104f762e5d3dcd659415632f442e745cef5a3bf2 (patch) | |
tree | 3fd40b9dfc46904d6e0cb3896f936cf7e0596352 /vnc/vnc.c | |
parent | 36ef046e3c5be09798b0f6e7f3492f712d194972 (diff) | |
download | xrdp-proprietary-104f762e5d3dcd659415632f442e745cef5a3bf2.tar.gz xrdp-proprietary-104f762e5d3dcd659415632f442e745cef5a3bf2.zip |
Added bell (pcspeaker) support
Diffstat (limited to 'vnc/vnc.c')
-rw-r--r-- | vnc/vnc.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -750,6 +750,17 @@ lib_palette_update(struct vnc* v) /******************************************************************************/ int DEFAULT_CC +lib_bell_trigger(struct vnc* v) +{ + struct stream* s; + int error; + + error = v->server_bell_trigger(v); + return error; +} + +/******************************************************************************/ +int DEFAULT_CC lib_mod_signal(struct vnc* v) { char type; @@ -767,6 +778,10 @@ lib_mod_signal(struct vnc* v) { error = lib_palette_update(v); } + else if (type == 2) /* bell */ + { + error = lib_bell_trigger(v); + } else if (type == 3) /* clipboard */ { g_writeln("got clip data"); |