[gtk-vnc] vncdisplay: on_initialized: send the led state notification encoding
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] vncdisplay: on_initialized: send the led state notification encoding
- Date: Thu, 13 Jul 2017 16:09:56 +0000 (UTC)
commit db787bfb7fb1ef8f7818c1164c2ecfada5676c0e
Author: Peter Korsgaard <peter korsgaard com>
Date: Thu Jul 13 17:09:32 2017 +0100
vncdisplay: on_initialized: send the led state notification encoding
So servers supporting this encoding will actually notify us and the
vnc-led-state signal will fire.
Signed-off-by: Peter Korsgaard <peter korsgaard com>
src/vncdisplay.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index 5039694..a7008ca 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -1684,6 +1684,7 @@ static void on_initialized(VncConnection *conn G_GNUC_UNUSED,
gint32 encodings[] = { VNC_CONNECTION_ENCODING_TIGHT_JPEG5,
VNC_CONNECTION_ENCODING_TIGHT,
VNC_CONNECTION_ENCODING_EXT_KEY_EVENT,
+ VNC_CONNECTION_ENCODING_LED_STATE,
VNC_CONNECTION_ENCODING_DESKTOP_RESIZE,
VNC_CONNECTION_ENCODING_WMVi,
VNC_CONNECTION_ENCODING_AUDIO,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]