From: Benjamin Otte Date: Tue, 22 May 2018 17:43:43 +0000 (+0200) Subject: display: Don't wake up the main loop anymore X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~112 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4aedf3d0034f16347f64b1d9070728a7e7ab67c9;p=gtk4.git display: Don't wake up the main loop anymore 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 --- diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c index e414adf52b..038af19eaa 100644 --- a/gdk/gdkdisplay.c +++ b/gdk/gdkdisplay.c @@ -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); } /**