Jan Arne Petersen
cd8cdccdd3
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.
12 years ago
Jan Arne Petersen
e829adc514
text: Assign text_model to a wl_seat
...
Add a wl_seat argument to the activate and deactivate requests of
text_method.
On activation a text_model gets assigned to the input_method of the
wl_seat specified in the activate request.
12 years ago
Jan Arne Petersen
de3b6a15c0
text: Add activate/deactivate events
...
Let the client know when a text model gets activated or deactiavted.
12 years ago
Jan Arne Petersen
5196374218
text: Rename text_model_manager to factory
...
The text_model_manager interface is just used to create text_model
instances. It is more a factory than a manager so rename it to
text_model_factory.
12 years ago
Philipp Brüschweiler
f25602bdc0
Extract the text_model_manager interface from input_method
...
This is necessary because all clients need a way to create
text_models, but only one client at a time can be bound to
the input_method global (else we don't know to whom we are
supposed to send events).
13 years ago
Kristian Høgsberg
f97f379dfc
text-backend.c: Whitespace fixes
...
Use a temp variable to break a couple of long lines, break a few long
lines.
13 years ago
Philipp Brüschweiler
1746781385
text-backend: minor fixes
...
* make sure deactivation is done consistently when a text_model
is destroyed
* zero out allocated objects
13 years ago
Jan Arne Petersen
1f17be442e
text: Add input_method and text_model interfaces
13 years ago