Commit b30db118 authored by Daiki Ueno's avatar Daiki Ueno
Browse files

Use XkbGetMap instead of XkbGetKeyboard in client.

parent cccb4f45
......@@ -1074,9 +1074,9 @@ eekboard_client_enable_xtest (EekboardClient *client)
}
if (!client->xkb)
client->xkb = XkbGetKeyboard (GDK_DISPLAY_XDISPLAY (client->display),
XkbGBN_AllComponentsMask,
XkbUseCoreKbd);
client->xkb = XkbGetMap (GDK_DISPLAY_XDISPLAY (client->display),
XkbKeySymsMask,
XkbUseCoreKbd);
g_assert (client->xkb);
client->reserved_keycode = 0;
......
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