commit | aa7a4761f609201a5970e95ffdf772b0bd9b75fe | [log] [tgz] |
---|---|---|
author | Emilio Pozuelo Monfort <pochu27@gmail.com> | Tue Nov 19 11:37:15 2013 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Nov 19 11:49:40 2013 -0800 |
tree | 9e0a340e5b67a7007222a29eb22a7e8e8816b72a | |
parent | df8133b72585af84b1680c4ba605d088d7592e4c [diff] |
input: Don't send leave events to destroyed views If a view which has focus is destroyed, we would send a leave event while changing focus, causing a segfault. Prevent this by listening to the view's destroy signal and removing it from the pointer focus. Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>