summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-30 16:41:26 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-08-05 19:22:38 +0000
commita2eaa1bb9354c3e175d8b8de4f242bed89db4664 (patch)
tree6ca8f3fa58390db506f63c736f635541618d52e7
parent089fdb63139e424e36d4aa9c892f65bdcbdd1116 (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/unx/gtk/app/gtkinst.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/app/gtkinst.cxx b/vcl/unx/gtk/app/gtkinst.cxx
index 41dfbea21d30..53582c7e5b02 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: