projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c250697
)
Elm cursor: Only set cursor if we are in X.
author
Tom Hacohen
<tom@stosb.com>
Tue, 12 Jul 2011 12:17:13 +0000
(12:17 +0000)
committer
Tom Hacohen
<tom@stosb.com>
Tue, 12 Jul 2011 12:17:13 +0000
(12:17 +0000)
This fixes the issue with the shot module, and possibly when
running on other non-X engines when elementary is built with X support.
SVN revision: 61288
src/lib/els_cursor.c
patch
|
blob
|
history
diff --git
a/src/lib/els_cursor.c
b/src/lib/els_cursor.c
index
b8e00a0
..
0685956
100644
(file)
--- a/
src/lib/els_cursor.c
+++ b/
src/lib/els_cursor.c
@@
-464,7
+464,7
@@
elm_object_cursor_unset(Evas_Object *obj)
ecore_evas_object_cursor_set(cur->ee, NULL, ELM_OBJECT_LAYER_CURSOR,
cur->hot_x, cur->hot_y);
#ifdef HAVE_ELEMENTARY_X
- else
+ else
if (cur->win)
ecore_x_window_cursor_set(cur->win, ECORE_X_CURSOR_X);
#endif
}