diff options
Diffstat (limited to 'vnc')
-rw-r--r-- | vnc/vnc.c | 15 | ||||
-rw-r--r-- | vnc/vnc.h | 1 |
2 files changed, 16 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"); @@ -50,6 +50,7 @@ struct vnc /* server functions */ int (*server_begin_update)(struct vnc* v); int (*server_end_update)(struct vnc* v); + int (*server_bell_trigger)(struct vnc* v); int (*server_fill_rect)(struct vnc* v, int x, int y, int cx, int cy); int (*server_screen_blt)(struct vnc* v, int x, int y, int cx, int cy, int srcx, int srcy); |