signals for receiving/losing focus
patch applied from https://github.com/cinder/Cinder/pull/390