mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
get the types as well as the symbols because we need them in
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com> * gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the symbols because we need them in MyEnhancedXkbTranslateKeyCode.
This commit is contained in:
parent
1b7cff4755
commit
50a641ae48
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
|
||||||
|
symbols because we need them in MyEnhancedXkbTranslateKeyCode.
|
||||||
|
|
||||||
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
Apply the same fixes and improvements as to the
|
Apply the same fixes and improvements as to the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
|
||||||
|
symbols because we need them in MyEnhancedXkbTranslateKeyCode.
|
||||||
|
|
||||||
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
Apply the same fixes and improvements as to the
|
Apply the same fixes and improvements as to the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
|
||||||
|
symbols because we need them in MyEnhancedXkbTranslateKeyCode.
|
||||||
|
|
||||||
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
Apply the same fixes and improvements as to the
|
Apply the same fixes and improvements as to the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
|
||||||
|
symbols because we need them in MyEnhancedXkbTranslateKeyCode.
|
||||||
|
|
||||||
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
Apply the same fixes and improvements as to the
|
Apply the same fixes and improvements as to the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
|
||||||
|
symbols because we need them in MyEnhancedXkbTranslateKeyCode.
|
||||||
|
|
||||||
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
Apply the same fixes and improvements as to the
|
Apply the same fixes and improvements as to the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
|
||||||
|
symbols because we need them in MyEnhancedXkbTranslateKeyCode.
|
||||||
|
|
||||||
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
Apply the same fixes and improvements as to the
|
Apply the same fixes and improvements as to the
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
|
||||||
|
symbols because we need them in MyEnhancedXkbTranslateKeyCode.
|
||||||
|
|
||||||
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
2002-01-10 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
Apply the same fixes and improvements as to the
|
Apply the same fixes and improvements as to the
|
||||||
|
@ -68,7 +68,7 @@ get_xkb (void)
|
|||||||
|
|
||||||
if (xkb_desc == NULL)
|
if (xkb_desc == NULL)
|
||||||
{
|
{
|
||||||
xkb_desc = XkbGetMap (gdk_display, XkbKeySymsMask, XkbUseCoreKbd);
|
xkb_desc = XkbGetMap (gdk_display, XkbKeySymsMask | XkbKeyTypesMask, XkbUseCoreKbd);
|
||||||
if (xkb_desc == NULL)
|
if (xkb_desc == NULL)
|
||||||
g_error ("Failed to get keymap");
|
g_error ("Failed to get keymap");
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ get_xkb (void)
|
|||||||
}
|
}
|
||||||
else if (current_serial != _gdk_keymap_serial)
|
else if (current_serial != _gdk_keymap_serial)
|
||||||
{
|
{
|
||||||
XkbGetUpdatedMap (gdk_display, XkbKeySymsMask, xkb_desc);
|
XkbGetUpdatedMap (gdk_display, XkbKeySymsMask | XkbKeyTypesMask, xkb_desc);
|
||||||
XkbGetNames (gdk_display, XkbGroupNamesMask, xkb_desc);
|
XkbGetNames (gdk_display, XkbGroupNamesMask, xkb_desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user