compositor: Report an error if we cannot the load the pointer image files
This commit is contained in:
parent
d354711fc7
commit
1d72447d9b
|
@ -552,6 +552,10 @@ create_pointer_images(struct wlsc_compositor *ec)
|
|||
create_sprite_from_png(ec,
|
||||
pointer_images[i].filename,
|
||||
SPRITE_USE_CURSOR);
|
||||
if (!ec->pointer_sprites[i]) {
|
||||
fprintf(stderr, "Error loading pointer image: %s\n",
|
||||
pointer_images[i].filename);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue