mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Move xcursor stuff into its own file
This commit is contained in:
parent
ad27cc3bff
commit
ec5beeb8b8
6 changed files with 65 additions and 40 deletions
|
|
@ -200,7 +200,8 @@ void output_add_notify(struct wl_listener *listener, void *data) {
|
|||
|
||||
cursor_load_config(config, input->cursor, input, desktop);
|
||||
|
||||
struct wlr_xcursor_image *image = input->xcursor->images[0];
|
||||
struct wlr_xcursor *xcursor = get_default_xcursor(input->xcursor_theme);
|
||||
struct wlr_xcursor_image *image = xcursor->images[0];
|
||||
// TODO the cursor must be set depending on which surface it is displayed
|
||||
// over which should happen in the compositor.
|
||||
if (!wlr_output_set_cursor(wlr_output, image->buffer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue