summaryrefslogtreecommitdiff
path: root/property
diff options
context:
space:
mode:
authorIan Osgood <iano@quirkster.com>2006-10-07 11:45:07 -0700
committerIan Osgood <iano@quirkster.com>2006-10-07 11:45:07 -0700
commit8cbe72cf7dae11d3944a9f45973c11bcd3867952 (patch)
treee979fb722c348d6eb28b8aa06edfa028a1e3ca74 /property
parent173bbad06f2a8e64e72589e07d237cc5c1706af3 (diff)
Adapt xcb/util libraries for removal of XID structures.
Diffstat (limited to 'property')
-rw-r--r--property/prop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/property/prop.c b/property/prop.c
index ef8e6df..174c420 100644
--- a/property/prop.c
+++ b/property/prop.c
@@ -47,7 +47,7 @@ int property_changed(property_handlers_t *prophs, uint8_t state, xcb_window_t wi
xcb_connection_t *c = get_xcb_connection(get_property_event_handlers(prophs));
node *cur;
for(cur = prophs->head; cur; cur = cur->next)
- if(cur->name.xid == atom.xid)
+ if(cur->name == atom)
return call_handler(c, state, window, atom, &cur->h);
if(prophs->def)
return call_handler(c, state, window, atom, prophs->def);