]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
x11: Fix XWindowAttributes
authorMichael B. Trausch <mike@trausch.us>
Fri, 2 Oct 2009 05:29:50 +0000 (01:29 -0400)
committerJürg Billeter <j@bitron.ch>
Fri, 2 Oct 2009 21:09:20 +0000 (23:09 +0200)
Fixes bug 597068.

vapi/x11.vapi

index 5759aa400eb351beaac6720dbee5092175cf3de4..031871e5514f246f61f388bda3784e4138080ced 100644 (file)
@@ -307,6 +307,8 @@ namespace X {
                // public Cursor cursor;                /* cursor to be displayed (or None) */
        }
 
+       [CCode(cname = "XWindowAttributes",
+              cheader_filename = "X11/Xlib.h,X11/Xatom.h,X11/Xutil.h")]
        public struct WindowAttributes {
                public int x;
                public int y;                   /* location of window */