projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf8bd5a
)
window: Report an error if we cannot load the pointer files
author
Rob Bradford
<rob@linux.intel.com>
Tue, 25 Oct 2011 11:19:36 +0000
(12:19 +0100)
committer
Rob Bradford
<rob@linux.intel.com>
Tue, 25 Oct 2011 11:19:36 +0000
(12:19 +0100)
clients/window.c
patch
|
blob
|
history
diff --git
a/clients/window.c
b/clients/window.c
index
57e27b8
..
e192ead
100644
(file)
--- a/
clients/window.c
+++ b/
clients/window.c
@@
-671,6
+671,10
@@
create_pointer_surfaces(struct display *display)
display_create_surface_from_file(display,
pointer_images[i].filename,
&rect);
+ if (!display->pointer_surfaces[i]) {
+ fprintf(stderr, "Error loading pointer image: %s\n",
+ pointer_images[i].filename);
+ }
}
}