enabled: Don't force the keyboard to show when enable is switched
This is a bit of a hack: the enable semantics are not finalized yet: https://source.puri.sm/Librem5/squeekboard/-/issues/238 This prevents the keyboard from appearing over the lock screen at least: https://source.puri.sm/Librem5/squeekboard/-/merge_requests/397#note_123987
This commit is contained in:
@ -404,13 +404,8 @@ void
|
||||
server_context_service_set_enabled (ServerContextService *self, gboolean enabled)
|
||||
{
|
||||
g_return_if_fail (SERVER_IS_CONTEXT_SERVICE (self));
|
||||
|
||||
if (enabled == self->enabled)
|
||||
return;
|
||||
|
||||
self->enabled = enabled;
|
||||
if (self->enabled)
|
||||
server_context_service_show_keyboard (self);
|
||||
else
|
||||
if (!self->enabled) {
|
||||
server_context_service_hide_keyboard (self);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user