render: load cursor theme from XCURSOR_THEME and XCURSOR_SIZE

This commit is contained in:
Daniel Eklöf 2019-07-05 10:44:09 +02:00
parent 1947d33868
commit 1a341a56cc
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 79 additions and 0 deletions

View file

@ -20,6 +20,14 @@ struct wayland {
struct wl_shm *shm;
struct wl_seat *seat;
struct wl_keyboard *keyboard;
struct {
struct wl_pointer *pointer;
uint32_t serial;
struct wl_surface *surface;
struct wl_cursor_theme *theme;
struct wl_cursor *cursor;
} pointer;
struct xdg_wm_base *shell;
struct xdg_surface *xdg_surface;
struct xdg_toplevel *xdg_toplevel;