Commit 08dd02fe authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Don't use g_idle_add to schedule idles in GDK

We need to use gdk_threads_add_idle, in order to keep GDK code
under the GDK lock.

Bug 629277
parent d3661589
......@@ -9822,10 +9822,10 @@ _gdk_synthesize_crossing_events_for_geometry_change (GdkWindow *changed_window)
{
toplevel_priv->synthesize_crossing_event_queued = TRUE;
g_idle_add_full (GDK_PRIORITY_EVENTS - 1,
do_synthesize_crossing_event,
g_object_ref (toplevel),
g_object_unref);
gdk_threads_add_idle_full (GDK_PRIORITY_EVENTS - 1,
do_synthesize_crossing_event,
g_object_ref (toplevel),
g_object_unref);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment