[Libreoffice-commits] core.git: vcl/unx
Markus Mohrhard
markus.mohrhard at googlemail.com
Wed Aug 5 12:22:59 PDT 2015
vcl/unx/gtk/app/gtkinst.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2eaa1bb9354c3e175d8b8de4f242bed89db4664
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>
diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index 41dfbea..53582c7 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