[Xcb] Questions about property event handlers
Nicholas Allen
nick.allen at onlinehome.de
Wed Mar 24 01:11:56 PDT 2010
Hi,
I have a question regarding the property helper functions in the
property utility library. Why is it necessary to set a default handler?
If I don't do this then my program crashes as soon as a property changes
that it's not interested in (for which I have not set a property handler
function).
I would think that after calling xcb_property_handlers_init() the
default handler would be to ignore the property change and do nothing.
Then I can just register handlers for the properties I'm actually
interested in. Also by forcing the setting of a default handler doesn't
that mean that xcb will query the value of properties even though I'm
not interested in them - thus creating unnecessary protocol requests to
the server?
Cheers,
Nick
More information about the Xcb
mailing list