diff options
Diffstat (limited to 'src/keyboard-x11.c')
-rw-r--r-- | src/keyboard-x11.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyboard-x11.c b/src/keyboard-x11.c index 9f8b41a0..2e8435ff 100644 --- a/src/keyboard-x11.c +++ b/src/keyboard-x11.c @@ -370,6 +370,11 @@ guint keyboard_GetNumLayouts(Keyboard *pKeyboard) return nLayouts; } +guint keyboard_GetLayoutIndex (Keyboard *pKeyboard) +{ + return pKeyboard->pPrivate->nLayout; +} + void keyboard_GetLayout(Keyboard *pKeyboard, gint nLayout, gchar **pLanguage, gchar **pDescription) { if (nLayout == -1) |