text: Deactivate text_model on keyboard focus lost
authorJan Arne Petersen <jpetersen@openismus.com>
Fri, 10 Aug 2012 14:47:23 +0000 (16:47 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 10 Aug 2012 17:00:52 +0000 (13:00 -0400)
commitcd8cdccdd375058ae467974af5831a507ed016f5
treefbe2119f931cf164352b0559fdfa1997ef3a8f7f
parente829adc514a33d09e0436ab585d5e2aa6d83c806
text: Deactivate text_model on keyboard focus lost

Assign a surface to a text_model on the text_model_activate request and
deactivate the text_model when the surface looses the keyboard focus.
src/text-backend.c