Remove outdated TODOs, use wlr_surface_has_buffer

This commit is contained in:
emersion 2017-10-31 10:54:05 +01:00
parent 6a74a3586f
commit ae9a46fc9b
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 5 additions and 9 deletions

View file

@ -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,