forked from AuroraMiddleware/gtk
[brodway] Don't send 0x0 deltas, they confuse the client
This commit is contained in:
parent
1e3dffeee9
commit
0a20ab58fa
@ -950,6 +950,10 @@ broadway_client_put_delta_rgb (BroadwayClient *client, int id, int dest_x, int
|
||||
rgb_autocrop (data,
|
||||
byte_stride,
|
||||
&src_x, &src_y, &w, &h);
|
||||
|
||||
if (w == 0 || h == 0)
|
||||
return;
|
||||
|
||||
data = (uint8_t *)data + src_x * 4 + src_y * byte_stride;
|
||||
|
||||
buf[0] = 'D';
|
||||
|
Loading…
Reference in New Issue
Block a user