1
1
mirror of https://github.com/wez/wezterm.git synced 2024-08-17 02:00:25 +03:00

It runs! (pointer now has a surface)

This commit is contained in:
V 2024-04-08 04:18:37 +02:00 committed by Wez Furlong
parent ccbdd4da6a
commit 42e47ad920
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -38,13 +38,14 @@ impl SeatHandler for WaylandState {
if capability == Capability::Pointer && self.pointer.is_none() {
log::trace!("Setting pointer capability");
let surface = self.compositor.create_surface(qh);
let pointer = self
.seat
.get_pointer_with_theme_and_data::<WaylandState, SurfaceUserData, PointerUserData>(
qh,
&seat,
todo!(),
todo!(),
&self.shm.wl_shm(),
surface,
ThemeSpec::System,
PointerUserData::new(seat.clone()),
)