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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user