[gtk+] XK_Num_Lock is called GDK_KEY_Num_Lock in this source tree.
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] XK_Num_Lock is called GDK_KEY_Num_Lock in this source tree.
- Date: Fri, 22 Jul 2011 18:20:04 +0000 (UTC)
commit 0388781e8f3415bad909d9f29c5a4c9d9ccd2ea4
Author: Patrick Welche <prlw1 cam ac uk>
Date: Fri Jul 1 19:14:48 2011 +0100
XK_Num_Lock is called GDK_KEY_Num_Lock in this source tree.
gdk/x11/gdkkeys-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
index 253bbed..09fd3d1 100644
--- a/gdk/x11/gdkkeys-x11.c
+++ b/gdk/x11/gdkkeys-x11.c
@@ -232,7 +232,7 @@ get_xkb (GdkX11Keymap *keymap_x11)
keymap_x11->current_serial = display_x11->keymap_serial;
if (keymap_x11->num_lock_mask == 0)
- keymap_x11->num_lock_mask = XkbKeysymToModifiers (KEYMAP_XDISPLAY (GDK_KEYMAP (keymap_x11)), XK_Num_Lock);
+ keymap_x11->num_lock_mask = XkbKeysymToModifiers (KEYMAP_XDISPLAY (GDK_KEYMAP (keymap_x11)), GDK_KEY_Num_Lock);
return keymap_x11->xkb_desc;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]