diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-05-11 20:16:39 +0300 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-05-15 07:12:41 +0200 |
commit | 8c56409598a2a0aa5023ab276c4fa4402bb23880 (patch) | |
tree | 1f8b1ef569f8f1ee7b512f4b78de0f0ab9c43e32 /src/plugins/platforms/wayland/qwaylandinputdevice.cpp | |
parent | 25af63583b5e9b040d71d672e0550514a52678b5 (diff) |
Yet another xkbcommon API change
Change-Id: I7ca4bf170cd6adb5b371c3c040ed35387876d0e8
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandinputdevice.cpp')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandinputdevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp index 7cfe56df9..6f2d7b711 100644 --- a/src/plugins/platforms/wayland/qwaylandinputdevice.cpp +++ b/src/plugins/platforms/wayland/qwaylandinputdevice.cpp @@ -91,9 +91,9 @@ QWaylandInputDevice::QWaylandInputDevice(QWaylandDisplay *display, names.variant = strdup(""); names.options = strdup(""); - xkb_context *mXkbContext = xkb_context_new(); + xkb_context *mXkbContext = xkb_context_new(xkb_context_flags(0)); if (mXkbContext) { - mXkbMap = xkb_map_new_from_names(mXkbContext, &names); + mXkbMap = xkb_map_new_from_names(mXkbContext, &names, xkb_map_compile_flags(0)); if (mXkbMap) { mXkbState = xkb_state_new(mXkbMap); } |