summaryrefslogtreecommitdiffstats
path: root/vnc/vnc.c
diff options
context:
space:
mode:
authorNicola Ruggero <nicola@nxnt.org>2010-10-26 13:08:28 +0200
committerNicola Ruggero <nicola@nxnt.org>2010-10-26 13:08:28 +0200
commit104f762e5d3dcd659415632f442e745cef5a3bf2 (patch)
tree3fd40b9dfc46904d6e0cb3896f936cf7e0596352 /vnc/vnc.c
parent36ef046e3c5be09798b0f6e7f3492f712d194972 (diff)
downloadxrdp-proprietary-104f762e5d3dcd659415632f442e745cef5a3bf2.tar.gz
xrdp-proprietary-104f762e5d3dcd659415632f442e745cef5a3bf2.zip
Added bell (pcspeaker) support
Diffstat (limited to 'vnc/vnc.c')
-rw-r--r--vnc/vnc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/vnc/vnc.c b/vnc/vnc.c
index da5d2dcd..2b3ab530 100644
--- a/vnc/vnc.c
+++ b/vnc/vnc.c
@@ -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");