Re: [Vimprobable-users] [Patches] Two new hint modes
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Hans-Peter D. <hpd...@gm...> - 2011-09-20 22:29:54
|
Hi, > + { GDK_SHIFT_MASK, 0, GDK_semicolon, input, {.s = ";"} }, This doesn't work for users with us layout, because ';' doesn't require shift. The problem is that there are two kinds of keys: Those that send a different key symbol with shift ("Q" or ";") and those that don't ("Shift-Space"). I did a quick search and found a function that appears to do exactly what we need: gdk_keymap_translate_keyboard_state() Jumanji seems to have fixed the same problem with this patch: [1] If I find the time and nobody is quicker, I'll try that out tomorrow (actually tomorrow it already today). Regards, HP |