Graphics protocol: Add a control to allow clients to specify that the cursor should not move when displaying an image

Fixes #3411
This commit is contained in:
Kovid Goyal
2021-03-22 22:16:40 +05:30
parent ba32e481ca
commit 83bbcf0aa1
8 changed files with 54 additions and 26 deletions

View File

@@ -381,7 +381,7 @@ class TestParser(BaseTest):
k[p] = v.encode('ascii')
for f in 'action delete_action transmission_type compressed'.split():
k.setdefault(f, b'\0')
for f in ('format more id data_sz data_offset width height x_offset y_offset data_height data_width'
for f in ('format more id data_sz data_offset width height x_offset y_offset data_height data_width cursor_movement'
' num_cells num_lines cell_x_offset cell_y_offset z_index placement_id image_number quiet').split():
k.setdefault(f, 0)
p = k.pop('payload', '').encode('utf-8')