diff --git a/backend/rdp/output.c b/backend/rdp/output.c index 5e20dda4..0ca886f0 100644 --- a/backend/rdp/output.c +++ b/backend/rdp/output.c @@ -79,6 +79,9 @@ static bool output_attach_render(struct wlr_output *wlr_output, static bool rfx_swap_buffers( struct wlr_rdp_output *output, pixman_region32_t *damage) { + if (!pixman_region32_not_empty(damage)) { + return true; + } struct wlr_rdp_peer_context *context = output->context; freerdp_peer *peer = context->peer; rdpUpdate *update = peer->update;