Fix: if e_config's show_cursor is disabled, then do not set client cursor. 95/38695/1 accepted/tizen/common/20150427.100326 accepted/tizen/mobile/20150427.234743 accepted/tizen/tv/20150427.104822 accepted/tizen/wearable/20150427.103340 submit/tizen/20150427.065854
authorMun, Gwan-gyeong <kk.moon@samsung.com>
Fri, 24 Apr 2015 14:41:48 +0000 (23:41 +0900)
committerMun, Gwan-gyeong <kk.moon@samsung.com>
Fri, 24 Apr 2015 14:41:48 +0000 (23:41 +0900)
Change-Id: Ib1226c0425820e943dc8d529a5e8f796429d0d21

src/bin/e_pointer.c

index 765e82e..534f2cf 100644 (file)
@@ -753,6 +753,13 @@ e_pointer_object_set(E_Pointer *ptr, Evas_Object *obj, int x, int y)
    Evas_Object *o;
    E_Client *ec;
 
+   /* don't show cursor if in hidden mode */
+   if (!e_config->show_cursor)
+     {
+        if (obj) evas_object_hide(obj);
+        return;
+     }
+
    ecore_evas_cursor_get(ptr->ee, &o, NULL, NULL, NULL);
    if (o)
      {