diff options
Diffstat (limited to 'vcl/unx/gtk3/gtk3gtkdata.cxx')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkdata.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkdata.cxx b/vcl/unx/gtk3/gtk3gtkdata.cxx index 29937ef036b2..efa2e7fa3cf6 100644 --- a/vcl/unx/gtk3/gtk3gtkdata.cxx +++ b/vcl/unx/gtk3/gtk3gtkdata.cxx @@ -826,7 +826,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); |