mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 21:32:13 +03:00
It runs! (pointer now has a surface)
This commit is contained in:
parent
ccbdd4da6a
commit
42e47ad920
@ -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()),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user