forked from joejulian/gio
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:
@@ -588,6 +588,7 @@ func gio_onRegistryGlobal(data unsafe.Pointer, reg *C.struct_wl_registry, name C
|
||||
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