]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
xcb: Missing EnterNotifyEvent, LeaveNotifyEvent, KeymapNotifyEvent, VisibilityNotifyE...
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 14 May 2014 01:33:24 +0000 (13:33 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 14 May 2014 04:07:19 +0000 (16:07 +1200)
https://bugzilla.gnome.org/show_bug.cgi?id=730097

vapi/xcb.vapi

index 55858ddf094730611896716fab2cc2bc1694286f..a1c5a558a88bef8b5b4dd900466bd86d17710d88 100644 (file)
@@ -502,6 +502,56 @@ namespace Xcb {
                public uint16 count;
        }
 
+       [Compact]
+       [CCode (cname = "xcb_enter_notify_event_t", ref_function = "", unref_function = "")]
+       public class EnterNotifyEvent : GenericEvent {
+               uint8 detail;
+               uint16 sequence;
+               Timestamp time;
+               public Window root;
+               public Window event;
+               public Window child;
+               public uint16 root_x;
+               public uint16 root_y;
+               public uint16 event_x;
+               public uint16 event_y;
+               public uint16 state;
+               public uint8 mode;
+               public uint8 same_screen_focus;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_leave_notify_event_t", ref_function = "", unref_function = "")]
+       public class LeaveNotifyEvent : GenericEvent {
+               uint8 detail;
+               uint16 sequence;
+               Timestamp time;
+               public Window root;
+               public Window event;
+               public Window child;
+               public uint16 root_x;
+               public uint16 root_y;
+               public uint16 event_x;
+               public uint16 event_y;
+               public uint16 state;
+               public uint8 mode;
+               public uint8 same_screen_focus;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_keymap_notify_event_t", ref_function = "", unref_function = "")]
+       public class KeymapNotifyEvent : GenericEvent {
+               uint8[] keys;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_visibility_notify_event_t", ref_function = "", unref_function = "")]
+       public class VisibilityNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public Window window;
+               public uint8 state;
+       }
+
        [Compact]
        [CCode (cname = "xcb_create_notify_event_t", ref_function = "", unref_function = "")]
        public class CreateNotifyEvent {
@@ -555,6 +605,18 @@ namespace Xcb {
                public Window window;
        }
 
+       [Compact]
+       [CCode (cname = "xcb_reparent_notify_event_t", ref_function = "", unref_function = "")]
+       public class ReparentNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public Window event;
+               public Window window;
+               public Window parent;
+               public int16 x;
+               public int16 y;
+               public uint8 override_redirect;
+       }
+
        [Compact]
        [CCode (cname = "xcb_configure_request_event_t", ref_function = "", unref_function = "")]
        public class ConfigureRequestEvent {
@@ -588,6 +650,65 @@ namespace Xcb {
                public uint8      override_redirect;
        }
 
+       [Compact]
+       [CCode (cname = "xcb_gravity_notify_event_t", ref_function = "", unref_function = "")]
+       public class GravityNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public Window event;
+               public Window window;
+               public int16 x;
+               public int16 y;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_circulate_notify_event_t", ref_function = "", unref_function = "")]
+       public class CirculateNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public Window event;
+               public Window window;
+               public uint8 place;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_property_notify_event_t", ref_function = "", unref_function = "")]
+       public class PropertyNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public Window window;
+               public Atom atom;
+               public Timestamp time;
+               public uint8 state;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_selection_notify_event_t", ref_function = "", unref_function = "")]
+       public class SelectionNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public Timestamp time;
+               public Window requestor;
+               public Atom selection;
+               public Atom target;
+               public Atom property;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_colormap_notify_event_t", ref_function = "", unref_function = "")]
+       public class ColormapNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public Window window;
+               public Colormap colormap;
+               public uint8 _new;
+               public uint8 state;
+       }
+
+       [Compact]
+       [CCode (cname = "xcb_mapping_notify_event_t", ref_function = "", unref_function = "")]
+       public class MappingNotifyEvent : GenericEvent {
+               uint16 sequence;
+               public uint8 request;
+               public Keycode first_keycode;
+               public uint8 count;
+       }
+
        [CCode (cname = "xcb_cw_t", has_type_id = false)]
        public enum CW {
                BACK_PIXMAP,