Skip to content
Commit d6ab6da9 authored by Marius Vlad's avatar Marius Vlad
Browse files

libweston/backend-x11: Tracking previous events over multiple calls



Rather than doing it with a local variable, track any previous events by
hanging it out of the x11 backend and use it to handle keymap notify
events.

In this way we avoid corrupting the surface destroy signal list, in
notify_keyboard_focus_out(), ultimately leading to a crash.

Fixes #649, #650

Suggested-by: default avatarDaniel Stone <daniel.stone@collabora.com>
Reported-by: default avatarAlexandros Frantzis <alexandros.frantzis@collabora.com>
Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 4cde507b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment