diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-11-23 15:32:15 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-11-23 18:18:48 +0100 |
commit | 32d94860910aabc7212e4059bf095d0bcd99cc1c (patch) | |
tree | c20d267833848bcf9ce412f67e538cd9f3031079 /common/pixman_utils.c | |
parent | 86e62813b3513cf8138e11d02fb1500b69516632 (diff) | |
download | spice-32d94860910aabc7212e4059bf095d0bcd99cc1c.tar.gz spice-32d94860910aabc7212e4059bf095d0bcd99cc1c.tar.xz spice-32d94860910aabc7212e4059bf095d0bcd99cc1c.zip |
spicec-x11: Fix unhandled exception: no window proc crash (rhbz#655836)
When XIM + ibus is in use XIM creates an invisible window for its own
purposes, we sometimes get a _GTK_LOAD_ICONTHEMES ClientMessage event on
this window. Since this window was not explicitly created by spicec, it
does not have a Window Context (with the event handling function for the
window in question) set. This would cause spicec to throw an unhandled
exception and exit.
This patch replaces the exception throwing with silently ignoring
ClientMessage events on Windows without a Context and logging a warning
for other event types.
Diffstat (limited to 'common/pixman_utils.c')
0 files changed, 0 insertions, 0 deletions