From 8b1a4f86caf95156b0eb29a20e5867ca46ee9ea8 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Wed, 18 Feb 2009 17:43:13 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20543710=20=E2=80=93=20Dead=20keys=20do=20n?= =?UTF-8?q?ot=20work=20anymore=20with=20DirectFB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2009-02-18 Sven Neumann Bug 543710 – Dead keys do not work anymore with DirectFB * gdk/directfb/gdkkeys-directfb.c (gdk_directfb_translate_key): applied patch from Josselin Mouette that removes special handling of dead keys as that is done by DirectFB for a long time already. svn path=/trunk/; revision=22361 --- ChangeLog | 8 ++++++++ gdk/directfb/gdkkeys-directfb.c | 23 +---------------------- 2 files changed, 9 insertions(+), 22 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba913a3fe6..0278fa3c4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-02-18 Sven Neumann + + Bug 543710 – Dead keys do not work anymore with DirectFB + + * gdk/directfb/gdkkeys-directfb.c (gdk_directfb_translate_key): + applied patch from Josselin Mouette that removes special handling + of dead keys as that is done by DirectFB for a long time already. + 2009-02-18 Sven Neumann * configure.in: depend on DirectFB >= 1.0.0. There's no point in diff --git a/gdk/directfb/gdkkeys-directfb.c b/gdk/directfb/gdkkeys-directfb.c index 34cb4c4a6e..c144c83ab4 100644 --- a/gdk/directfb/gdkkeys-directfb.c +++ b/gdk/directfb/gdkkeys-directfb.c @@ -1629,28 +1629,7 @@ gdk_directfb_translate_key (DFBInputDeviceKeyIdentifier key_id, break; case DIKT_DEAD: - switch (key_symbol) - { - case DIKS_DEAD_ABOVEDOT: keyval = GDK_dead_abovedot; break; - case DIKS_DEAD_ABOVERING: keyval = GDK_dead_abovering; break; - case DIKS_DEAD_ACUTE: keyval = GDK_dead_acute; break; - case DIKS_DEAD_BREVE: keyval = GDK_dead_breve; break; - case DIKS_DEAD_CARON: keyval = GDK_dead_caron; break; - case DIKS_DEAD_CEDILLA: keyval = GDK_dead_cedilla; break; - case DIKS_DEAD_CIRCUMFLEX: keyval = GDK_dead_circumflex; break; - case DIKS_DEAD_DIAERESIS: keyval = GDK_dead_diaeresis; break; - case DIKS_DEAD_DOUBLEACUTE: keyval = GDK_dead_doubleacute; break; - case DIKS_DEAD_GRAVE: keyval = GDK_dead_grave; break; - case DIKS_DEAD_IOTA: keyval = GDK_dead_iota; break; - case DIKS_DEAD_MACRON: keyval = GDK_dead_macron; break; - case DIKS_DEAD_OGONEK: keyval = GDK_dead_ogonek; break; - case DIKS_DEAD_SEMIVOICED_SOUND: - keyval = GDK_dead_semivoiced_sound; break; - case DIKS_DEAD_TILDE: keyval = GDK_dead_tilde; break; - case DIKS_DEAD_VOICED_SOUND: keyval = GDK_dead_voiced_sound; break; - default: - break; - } + /* dead keys are handled directly by directfb */ break; case DIKT_CUSTOM: