vcl/unx/gtk3/gtk3gtkdata.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 64c51f83fde713c7887fee608e35d6fb7492a064 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Sep 7 16:47:04 2017 +0100 tdf#110737 set user-events to a lower priority than system redraw Change-Id: Ic6672fcce4cb5516d388fee22120383ccc70a4a5 Reviewed-on: https://gerrit.libreoffice.org/42067 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Michael Stahl <mst...@redhat.com> diff --git a/vcl/unx/gtk3/gtk3gtkdata.cxx b/vcl/unx/gtk3/gtk3gtkdata.cxx index f59034a50657..559819aab026 100644 --- a/vcl/unx/gtk3/gtk3gtkdata.cxx +++ b/vcl/unx/gtk3/gtk3gtkdata.cxx @@ -831,7 +831,10 @@ void GtkData::PostUserEvent() else // nothing pending anyway { m_pUserEvent = g_idle_source_new(); - g_source_set_priority (m_pUserEvent, G_PRIORITY_HIGH); + // tdf#110737 set user-events to a lower priority than system redraw + // events, which is G_PRIORITY_HIGH_IDLE + 20, so presentations + // queue-redraw has a chance to be fulfilled + g_source_set_priority (m_pUserEvent, G_PRIORITY_HIGH_IDLE + 30); g_source_set_can_recurse (m_pUserEvent, TRUE); g_source_set_callback (m_pUserEvent, call_userEventFn, static_cast<gpointer>(this), nullptr);
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits