Darren Garvey
2012-05-18 01:00:08 UTC
Hi all,
I've got a relatively simple question, hopefully I haven't missed a
sawman-specific mailing list here.
One thing I've noticed when using sawman is that on occasion the callback
for "set focus window" - ie. the 10th callback in the sawman callbacks -
gets a null window handle. In that instance, if I don't return a DR_FAILURE
then no windows seem to receive key events from the DFB input driver.
I can hypothesis at the logic of how this could occur, but due to the
(ahem) minimal documentation around sawman the simple question is what is
the "good 'n' proper" way of handling a sawman callback which is given a
null window handle? Is it callback specific, is the intuitive option always
correct, is it documented?
Kind Regards,
Darren
I've got a relatively simple question, hopefully I haven't missed a
sawman-specific mailing list here.
One thing I've noticed when using sawman is that on occasion the callback
for "set focus window" - ie. the 10th callback in the sawman callbacks -
gets a null window handle. In that instance, if I don't return a DR_FAILURE
then no windows seem to receive key events from the DFB input driver.
I can hypothesis at the logic of how this could occur, but due to the
(ahem) minimal documentation around sawman the simple question is what is
the "good 'n' proper" way of handling a sawman callback which is given a
null window handle? Is it callback specific, is the intuitive option always
correct, is it documented?
Kind Regards,
Darren