From f3c32a880a426d8365f01ba7d61d81b75c04d9bc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 10 Mar 2024 20:59:17 +0100 Subject: Fix cursor capture in nvidia wayland, hdr, clear background immediately in window capture --- src/capture/xcomposite.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/capture/xcomposite.c') diff --git a/src/capture/xcomposite.c b/src/capture/xcomposite.c index eeed2ab..f1d620c 100644 --- a/src/capture/xcomposite.c +++ b/src/capture/xcomposite.c @@ -117,6 +117,7 @@ int gsr_capture_xcomposite_start(gsr_capture_xcomposite *self, AVCodecContext *v frame->height = video_codec_context->height; self->window_resize_timer = clock_get_monotonic_seconds(); + self->clear_next_frame = true; return 0; } -- cgit v1.2.3