wayland: move reload_cursor_theme() and update_cursor_surface() to wayland

This commit is contained in:
Daniel Eklöf 2019-10-27 19:36:45 +01:00
parent 664641104c
commit 957fb25559
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 64 additions and 61 deletions

View file

@ -161,5 +161,9 @@ struct terminal *wayl_terminal_from_xdg_surface(
struct terminal *wayl_terminal_from_xdg_toplevel(
struct wayland *wayl, struct xdg_toplevel *toplevel);
/* TODO: pass something other than 'term'? Need scale... */
bool wayl_reload_cursor_theme(struct wayland *wayl, struct terminal *term);
void wayl_update_cursor_surface(struct wayland *wayl, struct terminal *term);
struct wl_window *wayl_win_init(struct wayland *wayl);
void wayl_win_destroy(struct wl_window *win);