projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3efba7
)
unset wl client cursor when no surface resource is passed
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 11 Feb 2015 00:15:53 +0000
(19:15 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Wed, 11 Feb 2015 00:15:53 +0000
(19:15 -0500)
this is probably not correct, but #barrel
src/bin/e_comp_wl_input.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl_input.c
b/src/bin/e_comp_wl_input.c
index fbbffdcf31646ec4a5a00c8634a82c1ff4c16867..56ec39014c31027ef559c04d8c99b9302b1db5ec 100644
(file)
--- a/
src/bin/e_comp_wl_input.c
+++ b/
src/bin/e_comp_wl_input.c
@@
-36,6
+36,11
@@
_e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou
/* get compositor data */
if (!(cdata = wl_resource_get_user_data(resource))) return;
+ if (!surface_resource)
+ {
+ e_pointer_object_set(e_comp->pointer, NULL, x, y);
+ return;
+ }
wl_client_get_credentials(client, &pid, NULL, NULL);
sid = e_comp_wl_id_get(wl_resource_get_id(surface_resource), pid);
if (!(ec = e_pixmap_find_client(E_PIXMAP_TYPE_WL, sid)))