wayland: Process the keymap that is sent over from the compositor

Load the keymap from the file descriptor that the compositor has sent us and
then save that into our internal object for future use.
This commit is contained in:
Rob Bradford
2012-07-16 12:33:35 +01:00
parent 19d16f8b80
commit 1d080a01c1
5 changed files with 71 additions and 0 deletions

View File

@ -33,6 +33,8 @@
#include <gdk/gdkprivate.h>
#include <gdk/wayland/gdkdisplay-wayland.h>
#include <xkbcommon/xkbcommon.h>
#include "gdkinternals.h"
#include "config.h"
@ -89,6 +91,8 @@ void _gdk_wayland_display_create_window_impl (GdkDisplay *display,
gint attributes_mask);
GdkKeymap *_gdk_wayland_display_get_keymap (GdkDisplay *display);
void _gdk_wayland_keymap_update_keymap (GdkKeymap *gdk_keymap,
struct xkb_keymap *xkb_keymap);
GdkWindow *_gdk_wayland_display_get_selection_owner (GdkDisplay *display,
GdkAtom selection);