[PATCH] vncdisplay: on_initialized: send the led state notification encoding
- From: Peter Korsgaard <peter korsgaard com>
- To: gtk-vnc-list gnome org
- Subject: [PATCH] vncdisplay: on_initialized: send the led state notification encoding
- Date: Tue, 20 Jun 2017 21:35:29 +0200
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 file changed, 1 insertion(+)
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,
--
2.11.0
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]