Closed joe9 closed 8 years ago
We don't actually use the context for anything, just create it and pass it to keymap. XKB keymap and context are reference counted, thus xkb_context_unref doesn't actually release the context from memory here, just decrease its reference count (otherwise we would leak).
Hello,
The keyboard context is being dereferenced here (line 88-89 of https://github.com/Cloudef/wlc/blob/401497a36ab3286d3725d7f5b8da5fdf43e44e19/src/compositor/seat/keymap.c
Is this intentional? The libxkbcommon docs mention that the context should only be dereferenced at the end.
Thanks