aboutsummaryrefslogtreecommitdiff
path: root/src/keyboard-lomiri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboard-lomiri.c')
-rw-r--r--src/keyboard-lomiri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard-lomiri.c b/src/keyboard-lomiri.c
index 1f427f92..44828db5 100644
--- a/src/keyboard-lomiri.c
+++ b/src/keyboard-lomiri.c
@@ -697,7 +697,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)