csi: multi-cursor: use enum values in switch

This commit is contained in:
Daniel Eklöf 2025-08-28 12:17:35 +02:00
parent 7996267d7b
commit 89d87f2c1b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 42 additions and 25 deletions

View file

@ -414,6 +414,12 @@ enum multi_cursor_shape {
MULTI_CURSOR_SHAPE_BEAM = 2,
MULTI_CURSOR_SHAPE_UNDERLINE = 3,
MULTI_CURSOR_SHAPE_PRIMARY = 29,
MULTI_CURSOR_SHAPE_TEXT_COLOR = 30,
MULTI_CURSOR_SHAPE_CURSOR_COLOR = 40,
MULTI_CURSOR_SHAPE_QUERY_CURSORS = 100,
MULTI_CURSOR_SHAPE_QUERY_COLORS = 101,
};
/* Synchronized with the multi-cursor protocol specification */