diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-09-07 00:43:19 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-09-07 00:43:19 +0000 |
commit | 957ffc307f3a2885c5fbc0fc664960b59f1f40b9 (patch) | |
tree | 0ad60507b05b0a0b184277c225982ada20f12c37 /gdk | |
parent | 0816ffe74277ccf60e340850f5ced05b70f91c23 (diff) | |
download | gtk+-957ffc307f3a2885c5fbc0fc664960b59f1f40b9.tar.gz |
Bug 550989 – gdk_display_put_event() should call g_main_context_wakeup()
2008-09-06 Matthias Clasen <mclasen@redhat.com>
Bug 550989 – gdk_display_put_event() should call
g_main_context_wakeup()
* gdk/gdkdisplay.c (gdk_display_put_event): Wake up the main loop
after queueing the event. Patch by Owen Taylor
svn path=/trunk/; revision=21307
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkdisplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index 2a5b92c3bd..2b163de635 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -258,6 +258,8 @@ gdk_display_put_event (GdkDisplay *display, g_return_if_fail (event != NULL); _gdk_event_queue_append (display, gdk_event_copy (event)); + /* If the main loop is blocking in a different thread, wake it up */ + g_main_context_wakeup (NULL); } /** |