[PATCH] 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 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]