mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Remove outdated TODOs, use wlr_surface_has_buffer
This commit is contained in:
parent
6a74a3586f
commit
ae9a46fc9b
4 changed files with 5 additions and 9 deletions
|
|
@ -223,8 +223,6 @@ void output_add_notify(struct wl_listener *listener, void *data) {
|
|||
|
||||
cursor_load_config(config, input->cursor, input, desktop);
|
||||
|
||||
// TODO the cursor must be set depending on which surface it is displayed
|
||||
// over which should happen in the compositor.
|
||||
struct wlr_xcursor *xcursor = get_default_xcursor(input->xcursor_theme);
|
||||
struct wlr_xcursor_image *image = xcursor->images[0];
|
||||
wlr_cursor_set_image(input->cursor, image->buffer, image->width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue