summaryrefslogtreecommitdiff
path: root/vapi/external-libs.vapi
diff options
context:
space:
mode:
authorManuel BACHMANN <manuel.bachmann@eurogiciel.fr>2013-11-01 11:45:20 +0900
committerDaiki Ueno <ueno@unixuser.org>2013-11-05 10:53:37 +0900
commit6c75e0213f9eecd1c0657f57ac606e63e0703379 (patch)
tree1d7360a6583f5feec1d2f9e27fbf489d759b4e93 /vapi/external-libs.vapi
parentf7505d79c4474e311d5115f4d3f8bc054572f83b (diff)
downloadcaribou-6c75e0213f9eecd1c0657f57ac606e63e0703379.tar.gz
xadapter: disable slowkeys when sending key event
https://bugzilla.gnome.org/show_bug.cgi?id=698746
Diffstat (limited to 'vapi/external-libs.vapi')
-rw-r--r--vapi/external-libs.vapi18
1 files changed, 18 insertions, 0 deletions
diff --git a/vapi/external-libs.vapi b/vapi/external-libs.vapi
index 1489216..af3bf52 100644
--- a/vapi/external-libs.vapi
+++ b/vapi/external-libs.vapi
@@ -6,6 +6,15 @@ namespace Xkb {
[CCode (cname = "XkbGetKeyboard")]
public Desc get_keyboard (X.Display dpy, uint which, uint device_spec);
+ [CCode (cname = "XkbGetControls")]
+ public X.Status get_controls (X.Display dpy, uint which, Desc xkb);
+
+ [CCode (cname = "XkbSetControls")]
+ public void set_controls (X.Display dpy, uint which, Desc xkb);
+
+ [CCode (cname = "XkbGetMap")]
+ public Desc get_map (X.Display dpy, uint which, uint device_spec);
+
[CCode (cname = "XkbSetMap")]
public void set_map (X.Display dpy, uint which, Desc xkb);
@@ -92,6 +101,7 @@ namespace Xkb {
[Compact]
[CCode (cname = "XkbControlsRec", free_function = "")]
public class Controls {
+ public uint enabled_ctrls;
}
[Compact]
@@ -238,6 +248,8 @@ namespace Xkb {
public int ExtensionDeviceNotifyMask;
[CCode (cname = "XkbAllEventsMask")]
public int AllEventsMask;
+ [CCode (cname = "XkbAllControlsMask")]
+ public int AllControlsMask;
[CCode (cname = "XkbStateNotify")]
public int StateNotify;
@@ -256,4 +268,10 @@ namespace Xkb {
[CCode (cname = "XkbKeyTypesMask")]
public int KeyTypesMask;
+
+ [CCode (cname = "XkbSlowKeysMask")]
+ public int SlowKeysMask;
+
+ [CCode (cname = "XkbControlsEnabledMask")]
+ public int ControlsEnabledMask;
}