mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app/internal/window: [Wayland] initialize touchFoci map
Fixes gio#145 (I hope) Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -584,10 +584,11 @@ func gio_onRegistryGlobal(data unsafe.Pointer, reg *C.struct_wl_registry, name C
|
||||
break
|
||||
}
|
||||
d.seat = &wlSeat{
|
||||
disp: d,
|
||||
name: name,
|
||||
seat: s,
|
||||
offers: make(map[*C.struct_wl_data_offer][]string),
|
||||
disp: d,
|
||||
name: name,
|
||||
seat: s,
|
||||
offers: make(map[*C.struct_wl_data_offer][]string),
|
||||
touchFoci: make(map[C.int32_t]*window),
|
||||
}
|
||||
callbackStore(unsafe.Pointer(s), d.seat)
|
||||
C.wl_seat_add_listener(s, &C.gio_seat_listener, unsafe.Pointer(s))
|
||||
|
||||
Reference in New Issue
Block a user