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:31:23 +0000
commit2ca44dd59dc1833526e45f2a750ef8bb2888a60e (patch)
tree54bafa2ecef5ff07f5cb43acc6732e7f61031af0
parentbcb2be2b846d99e3e21cfdc88a1395c842fa435e (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> (cherry picked from commit a2eaa1bb9354c3e175d8b8de4f242bed89db4664) Reviewed-on: https://gerrit.libreoffice.org/17529
-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 d8b135299631..dcd9ff335ee3 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: