chore: Update smithay

Fixes #2081

This also reverts commit 0f7e53b, because the upstream commit (2e00119)
that introduced this thing was reverted
(https://github.com/Smithay/smithay/pull/1941).

There was also change in the cursor_capture_constraints signature in
smithay 7d992793f.
This commit is contained in:
Clayton Craft 2026-02-19 12:57:49 -08:00 committed by Victoria Brekenfeld
parent 769ed4b29c
commit fa3ffd18da
4 changed files with 12 additions and 40 deletions

View file

@ -15,7 +15,7 @@ use smithay::{
},
desktop::space::SpaceElement,
output::Output,
reexports::wayland_server::protocol::wl_shm::Format as ShmFormat,
reexports::wayland_server::protocol::{wl_pointer::WlPointer, wl_shm::Format as ShmFormat},
utils::{Buffer as BufferCoords, Point, Size, Transform},
wayland::{
dmabuf::get_dmabuf,
@ -69,6 +69,7 @@ impl ImageCopyCaptureHandler for State {
fn cursor_capture_constraints(
&mut self,
_source: &ImageCaptureSource,
_pointer: &WlPointer,
) -> Option<BufferConstraints> {
let size = if let Some((geometry, _)) = self
.common