summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/a11y-keyboard/msd-a11y-keyboard-manager.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
index 76dbc75..1441ca6 100644
--- a/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/msd-a11y-keyboard-manager.c
@@ -1133,7 +1133,11 @@ msd_a11y_keyboard_manager_start (MsdA11yKeyboardManager *manager,
{
mate_settings_profile_start (NULL);
- g_idle_add ((GSourceFunc) start_a11y_keyboard_idle_cb, manager);
+ /* give our initialization a lower priority over msd-keyoboard so it
+ * restores the numlock state before we might start monitoring it */
+ g_idle_add_full (G_PRIORITY_LOW,
+ (GSourceFunc) start_a11y_keyboard_idle_cb, manager,
+ NULL);
mate_settings_profile_end (NULL);