screencopy: Handle error from with_buffer_contents_mut

Fixes https://github.com/pop-os/cosmic-comp/issues/48.

https://github.com/Smithay/smithay/pull/1475 fixes the segfault so this
instead produces an error. Then we need to handle the error here.
This commit is contained in:
Ian Douglas Scott 2024-07-03 14:35:32 -07:00 committed by Victoria Brekenfeld
parent f02520c194
commit 9f8fec6ec5
3 changed files with 7 additions and 4 deletions

View file

@ -119,4 +119,4 @@ inherits = "release"
lto = "fat"
[patch."https://github.com/Smithay/smithay.git"]
smithay = {git = "https://github.com/smithay//smithay", rev = "3731734"}
smithay = {git = "https://github.com/smithay//smithay", rev = "4171247"}