wayland: read XCURSOR_{THEME,SIZE} in reload_xcursor theme

This commit is contained in:
Daniel Eklöf 2020-07-10 12:06:55 +02:00
parent 71584aed38
commit bf62519d83
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 16 additions and 34 deletions

View file

@ -147,9 +147,7 @@ struct seat {
struct wl_surface *surface;
struct wl_cursor_theme *theme;
struct wl_cursor *cursor;
int size;
int scale;
char *theme_name;
const char *xcursor;
struct wl_callback *xcursor_callback;
@ -318,9 +316,6 @@ struct wayland {
tll(struct seat) seats;
tll(struct terminal *) terms;
char *xcursor_theme;
unsigned xcursor_size;
};
struct wayland *wayl_init(const struct config *conf, struct fdm *fdm);