aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-11-26 13:18:44 +0100
committerSimon Ser <contact@emersion.fr>2020-12-13 12:16:28 +0100
commit441bac139fdfbbe576d3d87a91adeb906f9bd2a7 (patch)
tree47faaa69d47fbfbeec5a2b7d3e3c23a5085abd81 /include
parent3923ff005ddc56729d0ed699dbdf47182f3f68c8 (diff)
backend/wayland: use wlr_swapchain for cursor surface
Diffstat (limited to 'include')
-rw-r--r--include/backend/wayland.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index 8189c463..0ff52b51 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -4,9 +4,7 @@
#include <stdbool.h>
#include <wayland-client.h>
-#include <wayland-egl.h>
#include <wayland-server-core.h>
-#include <wayland-util.h>
#include <wlr/backend/wayland.h>
#include <wlr/render/egl.h>
@@ -79,7 +77,7 @@ struct wlr_wl_output {
struct {
struct wlr_wl_pointer *pointer;
struct wl_surface *surface;
- struct wl_egl_window *egl_window;
+ struct wlr_swapchain *swapchain;
int32_t hotspot_x, hotspot_y;
int32_t width, height;
} cursor;