From 4f65cfee8d772504a6437d2626a38e187ccde4a3 Mon Sep 17 00:00:00 2001 From: Ian Osgood Date: Tue, 14 Mar 2006 18:23:37 -0800 Subject: Remove xcb-util dependency on proto/X11 by moving many defs from X.h to s in xproto.xml --- property/prop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'property') diff --git a/property/prop.c b/property/prop.c index e5375dd..cb857ca 100644 --- a/property/prop.c +++ b/property/prop.c @@ -24,7 +24,7 @@ struct PropertyHandlers { XCBGetPropertyCookie GetAnyProperty(XCBConnection *c, BOOL del, XCBWINDOW window, XCBATOM name, CARD32 long_len) { - static const XCBATOM type = { AnyPropertyType }; + static const XCBATOM type = { XCBGetPropertyTypeAny }; return XCBGetProperty(c, del, window, name, type, 0, long_len); } @@ -32,7 +32,7 @@ static int callHandler(XCBConnection *c, BYTE state, XCBWINDOW window, XCBATOM a { XCBGetPropertyRep *propr = 0; int ret; - if(state != PropertyDelete) + if(state != XCBPropertyDelete) { XCBGetPropertyCookie cookie = GetAnyProperty(c, 0, window, atom, h->long_len); propr = XCBGetPropertyReply(c, cookie, 0); @@ -129,5 +129,5 @@ int rootOfScreen(XCBConnection *c, int screen, XCBWINDOW *root) XCBVoidCookie sendToWindow(XCBConnection *c, XCBWINDOW root, const XCBClientMessageEvent *ev) { - return XCBSendEvent(c, /* propagate */ 0, root, SubstructureNotifyMask | SubstructureRedirectMask, (const char *) ev); + return XCBSendEvent(c, /* propagate */ 0, root, XCBEventMaskSubstructureNotify | XCBEventMaskSubstructureRedirect, (const char *) ev); } -- cgit v1.2.3