display: Don't wake up the main loop anymore
authorBenjamin Otte <otte@redhat.com>
Tue, 22 May 2018 17:43:43 +0000 (19:43 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 18 Jun 2018 21:49:52 +0000 (23:49 +0200)
This is not needed because GTK must be run in the main thread these days,
which is the same one that runs the main loop. So when this function is
called, the main loop is awake.

https://bugzilla.gnome.org/show_bug.cgi?id=550989

gdk/gdkdisplay.c

index e414adf52b0d938755e69f1ca3f9c1a5f0f794c8..038af19eaaa8bc612454001bd6af90e685fdba6e 100644 (file)
@@ -492,8 +492,6 @@ gdk_display_put_event_nocopy (GdkDisplay *display,
                               GdkEvent   *event)
 {
   _gdk_event_queue_append (display, event);
-  /* If the main loop is blocking in a different thread, wake it up */
-  g_main_context_wakeup (NULL);
 }
 
 /**