backend-rdp: use compositor wide struct xkb_context
authorStefan Agner <stefan@agner.ch>
Thu, 20 Jun 2019 20:45:49 +0000 (22:45 +0200)
committerSimon Ser <contact@emersion.fr>
Mon, 13 Jan 2020 14:22:30 +0000 (14:22 +0000)
commit483cc636699977b48f9d1fa32a421189be0061a1
tree376c7e5d73d831b6c8825a4c0ab8133cecc6455e
parentc220a40a817aeb49b9a3a8146c8b5626d89bef97
backend-rdp: use compositor wide struct xkb_context

Instead of allocating our own copy of struct xkb_context use the
compositor wide instance. This avoids leaking of a struct
xkb_context per connection as well.

Signed-off-by: Stefan Agner <stefan@agner.ch>
libweston/backend-rdp/rdp.c