window: Report an error if we cannot load the pointer files

dev
Rob Bradford 13 years ago
parent bf8bd5aa3a
commit 21223bf6d1
  1. 4
      clients/window.c

@ -671,6 +671,10 @@ create_pointer_surfaces(struct display *display)
display_create_surface_from_file(display, display_create_surface_from_file(display,
pointer_images[i].filename, pointer_images[i].filename,
&rect); &rect);
if (!display->pointer_surfaces[i]) {
fprintf(stderr, "Error loading pointer image: %s\n",
pointer_images[i].filename);
}
} }
} }

Loading…
Cancel
Save