foxwhale
foxwhale copied to clipboard
Wayland objects contain a pointer to a "container" resource which will become invalid if we reallocate memory
- We don't currently reallocate memory
- If we did, we would have a problem with the
Object
type which holds a pointer to a foxwhale resource (https://github.com/malcolmstill/foxwhale/blob/master/src/wl/context.zig#L30) - What we should actually store is the id / handle of the foxwhale resource such that the foxwhale resources are freely reallocatable