vcl/unx/gtk/gtkdata.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 072a077972ada6500151623642db544ff5cb567e
Author: Caolán McNamara <[email protected]>
Date:   Thu Oct 5 10:15:15 2017 +0100

    tdf#112890 some dialog don't appear under gtk2
    
    Change-Id: I90a59bfdaec0e78d93888e5cc30d1c7fa147a7e7
    Reviewed-on: https://gerrit.libreoffice.org/43162
    Reviewed-by: Jan-Marek Glogowski <[email protected]>
    Tested-by: Jenkins <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

diff --git a/vcl/unx/gtk/gtkdata.cxx b/vcl/unx/gtk/gtkdata.cxx
index 77abe724298d..97541eed22c1 100644
--- a/vcl/unx/gtk/gtkdata.cxx
+++ b/vcl/unx/gtk/gtkdata.cxx
@@ -835,7 +835,9 @@ void GtkSalData::TriggerUserEventProcessing()
     else // nothing pending anyway
     {
         m_pUserEvent = g_idle_source_new();
-        g_source_set_priority (m_pUserEvent, G_PRIORITY_HIGH);
+        // tdf#112890 some dialog don't appear under gtk2, use the same
+        // priority for user-events as gtk3 does since tdf#110737
+        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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to