deps: update wlroots

This commit is contained in:
Vaxry
2023-10-25 00:27:16 +01:00
parent 03771d3aa9
commit df00727310
7 changed files with 5 additions and 10 deletions

View File

@@ -229,7 +229,7 @@ void CToplevelExportProtocolManager::copyFrame(wl_client* client, wl_resource* r
return;
}
const auto PBUFFER = wlr_buffer_from_resource(buffer);
const auto PBUFFER = wlr_buffer_try_from_resource(buffer);
if (!PBUFFER) {
wl_resource_post_error(PFRAME->resource, HYPRLAND_TOPLEVEL_EXPORT_FRAME_V1_ERROR_INVALID_BUFFER, "invalid buffer");
removeFrame(PFRAME);