cursor shape set correctly

This commit is contained in:
Rakarake 2026-02-07 15:30:56 +01:00
parent 6fe9b8bb2a
commit 57e78e8bde
4 changed files with 88 additions and 1 deletions

View file

@ -1,5 +1,6 @@
#include <EGL/egl.h>
#include <wayland-egl.h>
#include <wayland-cursor.h>
#include "xdg-shell-protocol.h"
#include "wlr-layer-shell-unstable-v1-protocol.h"
@ -45,8 +46,15 @@ struct client_state {
struct wl_display *wl_display;
struct wl_registry *wl_registry;
struct wl_compositor *wl_compositor;
struct wl_shm *wl_shm;
struct xdg_wm_base *xdg_wm_base;
struct zwlr_layer_shell_v1 *zwlr_layer_shell_v1;
struct wl_seat *wl_seat;
struct wl_pointer *wl_pointer;
// Cursor
struct wl_surface *cursor_surface;
struct wl_cursor_image *wl_cursor_image;
struct surface_list *surface_list;
/// Next in queue to check if it wants to be rendered.