From 43300c11a9c58020c3dd4f7587e30bcb2b1b0bec Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 20 Jul 2023 12:41:50 +0200 Subject: [PATCH] toplevelexport: remove _done call from _buffer requires recent hyprland commit to work --- src/screencast/wlr_screencast.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/screencast/wlr_screencast.c b/src/screencast/wlr_screencast.c index c86ce1d..2b439ac 100644 --- a/src/screencast/wlr_screencast.c +++ b/src/screencast/wlr_screencast.c @@ -375,9 +375,6 @@ static void hyprland_frame_buffer(void *data, struct hyprland_toplevel_export_fr cast->screencopy_frame_info[WL_SHM].stride = stride; cast->screencopy_frame_info[WL_SHM].size = stride * height; cast->screencopy_frame_info[WL_SHM].format = xdpw_format_drm_fourcc_from_wl_shm(format); - - // TODO: am I sure this should be here - hyprland_frame_buffer_done(cast, frame); } static void hyprland_frame_linux_dmabuf(void *data, struct hyprland_toplevel_export_frame_v1 *frame, uint32_t format, uint32_t width,