Make sure we sync dictionary and input purpose
Mostly to make sure we initially sync the dictionary when setting the completer but while at that look at input-purpose as well. The laster will need more work as we want specific layouts but at least we don't need to toggle terminal layout anymore.
-
Input-surface: Fix typo
Signed-off-by: Guido Günther agx@sigxcpu.org
-
enums: Fix typo
Signed-off-by: Guido Günther agx@sigxcpu.org
-
osk-widget: Sync state
If we just query inactive state we get a lot of
State 8 for context ... doesn't match state 0 set via gtk_style_context_set_state ()
with G_DEBUG_MESSAGES=all so actually set the style contexts state too.
Signed-off-by: Guido Günther agx@sigxcpu.org
-
input-surface: Don't try to adjust completion without an input method
Signed-off-by: Guido Günther agx@sigxcpu.org
-
input-surface: Switch widget and layer according to input purpose
This makes us honor the different input purposes with the layouts we have. Possible future improvements:
- add specific layouts for PIN, NUMBER, etc
- switch back from terminal layout to the last language
Signed-off-by: Guido Günther agx@sigxcpu.org
-
input-surface: Make sure to update language after setting completer
Otherwise we might be completing for the wrong language
Signed-off-by: Guido Günther agx@sigxcpu.org