Commit c3c0b247 authored by Stefan Agner's avatar Stefan Agner Committed by Simon Ser

backend-rdp: unref keymap after associating with seat

The function weston_seat_init_keyboard makes sure that it has its
own reference to keymap, hence we can safely drop our reference.
This is similarly done in the X11 backend. It avoids leaking a
struct xkb_keymap per connection.
Signed-off-by: Stefan Agner's avatarStefan Agner <>
parent 483cc636
......@@ -1064,6 +1064,7 @@ xf_peer_activate(freerdp_peer* client)
weston_seat_init(peersItem->seat, b->compositor, seat_name);
weston_seat_init_keyboard(peersItem->seat, keymap);
peersItem->flags |= RDP_PEER_ACTIVATED;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment