mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-27 15:08:16 +00:00
Don't send zero data item for clips with no data
This commit is contained in:
parent
1d5d5272e2
commit
31fd48e773
@ -412,9 +412,7 @@ struct Path {
|
||||
struct Clip {
|
||||
clip_type type;
|
||||
switch (type) {
|
||||
case NONE:
|
||||
uint64 data @zero;
|
||||
case RECTS:
|
||||
case RECTS:
|
||||
ClipRects *data @outvar(cliprects);
|
||||
case PATH:
|
||||
Path *data @outvar(clippath);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user