wayland: Load cursor theme using new Wayland cursor library

This requires the SHM object be initialised - therefore this is the most
logical (if slightly ugly place.)

We also need to make sure that we do something clever to load the correct
cursor theme.
This commit is contained in:
Rob Bradford
2012-07-11 14:18:28 +01:00
parent 2928ffc7b1
commit b1a5b19b4a
2 changed files with 26 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#include <config.h>
#include <stdint.h>
#include <wayland-client.h>
#include <wayland-cursor.h>
#ifdef GDK_WAYLAND_USE_EGL
#include <wayland-egl.h>
@ -80,6 +81,9 @@ struct _GdkWaylandDisplay
struct wl_output *output;
struct wl_input_device *input_device;
struct wl_data_device_manager *data_device_manager;
struct wl_cursor_theme *cursor_theme;
GSource *event_source;
#ifdef GDK_WAYLAND_USE_EGL