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

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Aug 5 12:31:43 PDT 2015


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

New commits:
commit 2ca44dd59dc1833526e45f2a750ef8bb2888a60e
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Thu Jul 30 16:41:26 2015 +0200

    don't map GDK_KEY_RELEASE to keyboard events, tdf#92996
    
    This was only done in the new gtk3 backend, all other backends seem to
    ignore the GDK_KEY_RELEASE event (especially the gtk2 one). So make the
    gtk3 backend code consistent with the other backends.
    
    Change-Id: I3bdecb7ce05190ee2496bc552ca79375fb6fd713
    Reviewed-on: https://gerrit.libreoffice.org/17431
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    (cherry picked from commit a2eaa1bb9354c3e175d8b8de4f242bed89db4664)
    Reviewed-on: https://gerrit.libreoffice.org/17529

diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index d8b1352..dcd9ff33 100644
--- a/vcl/unx/gtk/app/gtkinst.cxx
+++ b/vcl/unx/gtk/app/gtkinst.cxx
@@ -138,7 +138,7 @@ static VclInputFlags categorizeEvent(const GdkEvent *pEvent)
         nType = VclInputFlags::MOUSE;
         break;
     case GDK_KEY_PRESS:
-    case GDK_KEY_RELEASE:
+    // case GDK_KEY_RELEASE: //similar to the X11SalInstance one
         nType = VclInputFlags::KEYBOARD;
         break;
     case GDK_EXPOSE:


More information about the Libreoffice-commits mailing list