mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
Merge branch 'dead-hamza' into 'main'
imcontextsimple: Handle dead_hamza See merge request GNOME/gtk!7699
This commit is contained in:
commit
e9a046c439
@ -1605,6 +1605,7 @@ gtk_check_algorithmically (const guint *compose_buffer,
|
||||
CASE (U, 0x367);
|
||||
CASE (small_schwa, 0x1DEA);
|
||||
CASE (capital_schwa, 0x1DEA);
|
||||
CASE (hamza, 0x654);
|
||||
#undef CASE
|
||||
default:
|
||||
g_string_append_unichar (input, gdk_keyval_to_unicode (compose_buffer[i]));
|
||||
|
@ -532,7 +532,7 @@ beep_surface (GdkSurface *surface)
|
||||
static inline gboolean
|
||||
is_dead_key (guint keysym)
|
||||
{
|
||||
return GDK_KEY_dead_grave <= keysym && keysym <= GDK_KEY_dead_greek;
|
||||
return GDK_KEY_dead_grave <= keysym && keysym <= GDK_KEY_dead_hamza;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -599,6 +599,7 @@ append_dead_key (GString *string,
|
||||
CASE (U, 0x367, 1);
|
||||
CASE (small_schwa, 0x1dea, 1);
|
||||
CASE (capital_schwa, 0x1dea, 1);
|
||||
CASE (hamza, 0x621, 0);
|
||||
#undef CASE
|
||||
default:
|
||||
g_string_append_unichar (string, gdk_keyval_to_unicode (keysym));
|
||||
|
Loading…
Reference in New Issue
Block a user