[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 2 15:12:23 UTC 2021


 vcl/unx/gtk3/gtkinst.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 1213e59401b696cad862745cdefd2963b41af166
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jun 2 14:17:17 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jun 2 17:11:34 2021 +0200

    gtk4: add SolarMutexGuard to focus handlers
    
    Change-Id: I0dee71c310a44701d041b3677e9a3e1aa180f4b8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116597
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 2e81c4d29b93..04abfec925bf 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -16837,6 +16837,7 @@ private:
     static void signalEntryFocusIn(GtkEventControllerFocus*, gpointer widget)
     {
         GtkInstanceComboBox* pThis = static_cast<GtkInstanceComboBox*>(widget);
+        SolarMutexGuard aGuard;
         pThis->signal_entry_focus_in();
     }
 #else
@@ -16857,6 +16858,7 @@ private:
     static void signalEntryFocusOut(GtkEventControllerFocus*, gpointer widget)
     {
         GtkInstanceComboBox* pThis = static_cast<GtkInstanceComboBox*>(widget);
+        SolarMutexGuard aGuard;
         pThis->signal_entry_focus_out();
     }
 #else


More information about the Libreoffice-commits mailing list