imservice: Invoke eekboard_context_service_set_hint_purpose unconditionally
Since eekboard_context_service_set_hint_purpose() checks if the hint or purpose changed this doesn't cause unwanted layout reloads. Closes: #311
This commit is contained in:
@ -153,6 +153,7 @@ pub mod c {
|
||||
|
||||
if active_changed {
|
||||
(imservice.active_callback)(imservice.current.active);
|
||||
}
|
||||
if imservice.current.active {
|
||||
unsafe {
|
||||
eekboard_context_service_set_hint_purpose(
|
||||
@ -163,7 +164,6 @@ pub mod c {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: this is really untested
|
||||
#[no_mangle]
|
||||
|
||||
Reference in New Issue
Block a user