Skip to contentSkip to conversation

vnc: make sure to send pointer type change event on SetEncodings

PATCH New Anthony Liguori 1 participant 1 message May 4, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vnc: make sure to send pointer type change event on SetEncodings

Commit 37c34d9d5d87ea9d51760310c8863b82cb8c055a introduced a regression when using relative mouse mode with a client that understands the PointerTypeChange pseudo-encoding.

---
 vnc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
vnc.c +2 -0
index 5241a6a..b1a3fdb 100644
@@ -1642,6 +1642,8 @@ static void set_encodings(VncState *vs, int32_t *encodings, size_t n_encodings)
             break;
         }
     }
+
+    check_pointer_type_change(&vs->mouse_mode_notifier);
 }
 
 static void set_pixel_conversion(VncState *vs)
Signature · 1 line
1.6.5.2