summaryrefslogtreecommitdiff
path: root/property
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-03-14 18:23:37 -0800
committerIan Osgood <iano@quirkster.com>2006-03-14 18:23:37 -0800
commit4f65cfee8d772504a6437d2626a38e187ccde4a3 (patch)
treee864cd8b9264291bf08d506dfc194dae3f12a17e /property
parentac30616b8bdeee6af8bd0eba6c3c31733637f153 (diff)
Remove xcb-util dependency on proto/X11
by moving many defs from X.h to <enum>s in xproto.xml
Diffstat (limited to 'property')
-rw-r--r--property/prop.c6
1 files changed, 3 insertions, 3 deletions
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);
}