From 9714152bc4c87d26a3f9c2b5e3cc7a5e186c5867 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 16 Jun 2026 09:38:19 +0200 Subject: src/keyboard-lomiri.c: Show OSK layouts also if no hardware keyboard is present Previous behaviour: OSK layouts got only shown if 'always-show-osk' gsettings was set to TRUE. --- src/keyboard-lomiri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard-lomiri.c b/src/keyboard-lomiri.c index 176d576b..3a3863b4 100644 --- a/src/keyboard-lomiri.c +++ b/src/keyboard-lomiri.c @@ -693,7 +693,7 @@ gboolean keyboard_hasHardwareKeyboard (Keyboard *self) gboolean keyboard_hasSoftwareKeyboard (Keyboard *self) { - return self->pPrivate->bSoftwareKeyboard; + return ((!self->pPrivate->bHardwareKeyboard) | self->pPrivate->bSoftwareKeyboard); } static void keyboard_init(Keyboard *self) -- cgit v1.2.3