Focus problem


I’ve experienced some problems with focus in Photon. I want to change
widget’s fill color when it gets focus and change it back when it

When the widget loses focus the callback is called, but photon passes a
pointer to the widget that has just got focus instead of the one which
lost it. I may “resolve” this problem creating my own focus control,
but I’d like to know if there is an easier way.

Could anyone help me, please?

Thanks in advance,

Vanessa Shimada

Sent via