diff options
author | Julien Danjou <julien@danjou.info> | 2008-09-16 15:23:24 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2008-09-16 15:23:24 +0200 |
commit | 26ab75265559a47487d90a0ae7077ca828757260 (patch) | |
tree | 9e4aaf93630ec491bd59241f5084223d23c1f978 /property | |
parent | 050a7dcb7de33570a4dc5c945c4ec16994df41f1 (diff) |
event: rework, rename and add some documentation
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'property')
-rw-r--r-- | property/property.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/property/property.c b/property/property.c index defac17..498c612 100644 --- a/property/property.c +++ b/property/property.c @@ -68,7 +68,7 @@ call_handler(xcb_connection_t *c, uint8_t state, xcb_window_t window, xcb_atom_t int xcb_property_changed(xcb_property_handlers_t *prophs, uint8_t state, xcb_window_t window, xcb_atom_t atom) { - xcb_connection_t *c = xcb_get_xcb_connection(xcb_property_get_event_handlers(prophs)); + xcb_connection_t *c = xcb_event_get_xcb_connection(xcb_property_get_event_handlers(prophs)); xcb_property_handler_node_t *cur; for(cur = prophs->head; cur; cur = cur->next) @@ -97,7 +97,7 @@ xcb_property_handlers_init(xcb_property_handlers_t *prophs, xcb_event_handlers_t { memset(prophs, 0, sizeof(prophs)); prophs->evenths = evenths; - set_property_notify_event_handler(evenths, handle_property_notify_event, prophs); + xcb_event_set_property_notify_handler(evenths, handle_property_notify_event, prophs); } void |