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
This commit is contained in:
Matthias Clasen 2008-09-07 00:43:19 +00:00 committed by Matthias Clasen
parent 0816ffe742
commit 957ffc307f
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
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
2008-09-07 Yair Hershkovitz <yairhr@gmail.com>
Bug 319849 - gtkcalendar look in RTL locales

View File

@ -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);
}
/**