Re: [PATCH] vncdisplay: on_initialized: send the led state notification encoding



On Tue, Jun 20, 2017 at 09:35:29PM +0200, Peter Korsgaard wrote:
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,

Sorry for the delay. ACK & pushed to git

Regards,
Daniel
--
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]