Commit fbe7b9ec authored by Daiki Ueno's avatar Daiki Ueno

Hard-code dynamic modifier masks for XML layout.

parent 048fccd6
......@@ -590,6 +590,10 @@ eek_xml_layout_real_create_keyboard (EekLayout *self,
if (data.oref_outline_hash)
g_hash_table_destroy (data.oref_outline_hash);
/* use pre-defined modifier mask here */
eek_keyboard_set_num_lock_mask (data.keyboard, EEK_MOD2_MASK);
eek_keyboard_set_alt_gr_mask (data.keyboard, EEK_MOD5_MASK);
return data.keyboard;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment