forked from AuroraMiddleware/gtk
Implement trivially on Windows. Not sure if something more complex is
2008-10-01 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state): Implement trivially on Windows. Not sure if something more complex is actually needed, more specifically whether the function needs to differentiate between "Caps Lock" and "Shift Lock" semantics? svn path=/trunk/; revision=21558
This commit is contained in:
parent
7d7dfa73a4
commit
139965125b
@ -1,3 +1,10 @@
|
||||
2008-10-01 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkkeys-win32.c (gdk_keymap_get_caps_lock_state):
|
||||
Implement trivially on Windows. Not sure if something more complex
|
||||
is actually needed, more specifically whether the function needs
|
||||
to differentiate between "Caps Lock" and "Shift Lock" semantics?
|
||||
|
||||
2008-10-01 Simos Xenitellis <simos@gnome.org>
|
||||
|
||||
Bug 554506 – combining diacritics broken, became deadkeys
|
||||
|
@ -530,6 +530,12 @@ gdk_keymap_have_bidi_layouts (GdkKeymap *keymap)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
gdk_keymap_get_caps_lock_state (GdkKeymap *keymap)
|
||||
{
|
||||
return ((GetKeyState (VK_CAPITAL) & 1) != 0);
|
||||
}
|
||||
|
||||
gboolean
|
||||
gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
|
||||
guint keyval,
|
||||
|
Loading…
Reference in New Issue
Block a user