[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/unx

Caolán McNamara caolanm at redhat.com
Tue May 26 06:33:14 PDT 2015


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

New commits:
commit acf3daaa536ab85a2d5b29f5fbb3a045f5e5fce0
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
    (cherry picked from commit caf14ad1c2d8d198a45fbaaeeb6b9fc653f3a68d)

diff --git a/vcl/unx/gtk/window/gtksalframe.cxx b/vcl/unx/gtk/window/gtksalframe.cxx
index 4093737..a43bcf8 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