aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/els_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/els_cursor.c')
-rw-r--r--src/lib/elementary/els_cursor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/els_cursor.c b/src/lib/elementary/els_cursor.c
index 8d15df1762..fbcde054bf 100644
--- a/src/lib/elementary/els_cursor.c
+++ b/src/lib/elementary/els_cursor.c
@@ -212,6 +212,8 @@ _elm_cursor_set_hot_spots(Elm_Cursor *cur)
Evas_Coord cx, cy, cw, ch, x, y, w, h;
int prev_hot_x, prev_hot_y;
+ if (!cur->visible) return;
+
prev_hot_x = cur->hot_x;
prev_hot_y = cur->hot_y;