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



"Daniel" == Daniel P Berrange <dan berrange com> writes:

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

Thanks (and thanks for merging the keycodemapdb change)!

-- 
Bye, Peter Korsgaard


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