From 4aedf3d0034f16347f64b1d9070728a7e7ab67c9 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 22 May 2018 19:43:43 +0200 Subject: [PATCH] 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 --- gdk/gdkdisplay.c | 2 -- 1 file changed, 2 deletions(-) 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); } /** -- 2.30.2