keyboard: Allow input of Hangul and Modifier+space shortcuts
These keyboard switching key combinations had been rejected because using them as shortcuts might prevent users from inputting text. But now the input source switching keys are configured and processed in GNOME. So the shortcut settings should allow these key combinations. https://bugzilla.gnome.org/show_bug.cgi?id=693395
This commit is contained in:
parent
b08a972854
commit
4888729aae
1 changed files with 1 additions and 2 deletions
|
@ -1142,7 +1142,6 @@ static const guint forbidden_keyvals[] = {
|
|||
GDK_KEY_KP_Enter,
|
||||
GDK_KEY_Return,
|
||||
|
||||
GDK_KEY_space,
|
||||
GDK_KEY_Mode_switch
|
||||
};
|
||||
|
||||
|
@ -1285,8 +1284,8 @@ accel_edited_callback (GtkCellRendererText *cell,
|
|||
|| (keyval >= GDK_KEY_Greek_ALPHAaccent && keyval <= GDK_KEY_Greek_omega)
|
||||
|| (keyval >= GDK_KEY_hebrew_doublelowline && keyval <= GDK_KEY_hebrew_taf)
|
||||
|| (keyval >= GDK_KEY_Thai_kokai && keyval <= GDK_KEY_Thai_lekkao)
|
||||
|| (keyval >= GDK_KEY_Hangul && keyval <= GDK_KEY_Hangul_Special)
|
||||
|| (keyval >= GDK_KEY_Hangul_Kiyeog && keyval <= GDK_KEY_Hangul_J_YeorinHieuh)
|
||||
|| (keyval == GDK_KEY_space && mask == 0)
|
||||
|| keyval_is_forbidden (keyval)) {
|
||||
GtkWidget *dialog;
|
||||
char *name;
|
||||
|
|
Loading…
Add table
Reference in a new issue