Skip to content

Commit

Permalink
toplevelexport: remove _done call from _buffer
Browse files Browse the repository at this point in the history
requires recent hyprland commit to work
  • Loading branch information
vaxerski committed Jul 20, 2023
1 parent 7276435 commit 43300c1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/screencast/wlr_screencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 43300c1

Please sign in to comment.