Kaydet (Commit) a2eaa1bb authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Caolán McNamara

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/17431Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 089fdb63
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment