Break out symbol handling into Rust
This commit is contained in:
@ -148,6 +148,10 @@ eekboard_context_service_real_create_keyboard (EekboardContextService *self,
|
||||
|
||||
gchar *keymap_str = eek_keyboard_get_keymap(keyboard);
|
||||
|
||||
int f = open("maprs.map", O_CREAT | O_WRONLY);
|
||||
write(f, keymap_str, strlen(keymap_str));
|
||||
close(f);
|
||||
|
||||
struct xkb_keymap *keymap = xkb_keymap_new_from_string(context, keymap_str,
|
||||
XKB_KEYMAP_FORMAT_TEXT_V1, XKB_KEYMAP_COMPILE_NO_FLAGS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user