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

Caolán McNamara caolanm at redhat.com
Fri May 22 05:41:00 PDT 2015


 vcl/unx/gtk/window/gtksalframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit caf14ad1c2d8d198a45fbaaeeb6b9fc653f3a68d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri May 22 11:34:16 2015 +0100

    want to grab with owner_events true
    
    Change-Id: Iada234df8b476cee36a1a360de7fb5b14a0d01b8

diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 286d212..42f9726 100644
--- a/vcl/unx/gtk/window/gtksalframe.cxx
+++ b/vcl/unx/gtk/window/gtksalframe.cxx
@@ -2802,7 +2802,7 @@ void GtkSalFrame::grabKeyboard( bool bGrab )
     if (bGrab)
     {
         gdk_device_grab(pKeyboard, widget_get_window(m_pWindow), GDK_OWNERSHIP_NONE,
-                        FALSE, (GdkEventMask)(GDK_KEY_PRESS | GDK_KEY_RELEASE), NULL, GDK_CURRENT_TIME);
+                        true, (GdkEventMask)(GDK_KEY_PRESS | GDK_KEY_RELEASE), NULL, GDK_CURRENT_TIME);
     }
     else
     {


More information about the Libreoffice-commits mailing list