From 8b0723a4f20b115c8d3394bcdf24b60b4895a345 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 21 Jul 2023 19:12:24 +0200 Subject: Fix window capture --- include/capture/kms_vaapi.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/capture/kms_vaapi.h') diff --git a/include/capture/kms_vaapi.h b/include/capture/kms_vaapi.h index 77b292a..8e11682 100644 --- a/include/capture/kms_vaapi.h +++ b/include/capture/kms_vaapi.h @@ -9,6 +9,7 @@ typedef struct _XDisplay Display; typedef struct { gsr_egl *egl; + Display *dpy; const char *display_to_capture; /* if this is "screen", then the entire x11 screen is captured (all displays). A copy is made of this */ gsr_gpu_info gpu_inf; const char *card_path; /* reference */ -- cgit v1.2.3