mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/wayland: use wlr_swapchain for cursor surface
This commit is contained in:
parent
3923ff005d
commit
441bac139f
2 changed files with 40 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue