]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: Fix get_keyboard_mapping and keysym_to_keycode bindings
authorAlexander Kurtz <kurtz.alex@googlemail.com>
Mon, 4 Apr 2011 18:22:20 +0000 (20:22 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 08:03:06 +0000 (10:03 +0200)
vapi/x11.vapi

index af0b964914e28936a5aa161d3473b14171d48879..461e37459584f43d0538919ee3a259b7eb8fc8a6 100644 (file)
@@ -88,7 +88,7 @@ namespace X {
                public void force_screensaver (int mode);
 
                [CCode (cname = "XGetKeyboardMapping", array_length = false)]
-               public unowned uint[] get_keyboard_mapping (uint first_keycode, int keycode_count, ref int keysyms_per_keycode_return);
+               public ulong[] get_keyboard_mapping (uchar first_keycode, int keycode_count, ref int keysyms_per_keycode_return);
 
                [CCode (cname = "XGetModifierMapping")]
                public ModifierKeymap get_modifier_mapping ();
@@ -133,7 +133,7 @@ namespace X {
                public int keycodes (ref int min_keycodes_return, ref int max_keycodes_return);
 
                [CCode (cname = "XKeysymToKeycode")]
-               public int keysym_to_keycode (uint keysym);
+               public uchar keysym_to_keycode (ulong keysym);
 
                [CCode (cname = "XLastKnownRequestProcessed")]
                public ulong last_known_request_processed ();