e_plane: don't set set_counter if ec is pointer 22/161922/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 28 Nov 2017 06:24:52 +0000 (15:24 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 28 Nov 2017 10:42:24 +0000 (10:42 +0000)
Change-Id: Ic401cb6fc490a326821d8cda738354c7416ad8e8

src/bin/e_plane.c

index 08c4ece..fc1aa29 100644 (file)
@@ -743,7 +743,10 @@ _e_plane_set_counter_set(E_Plane *plane, E_Client *ec)
    fb_target = e_output_fb_target_get(plane->output);
    EINA_SAFETY_ON_NULL_RETURN(fb_target);
 
-   if (fb_target->ec || e_plane_is_fb_target(plane) || !ec->redirected)
+   if (fb_target->ec ||
+       e_plane_is_fb_target(plane) ||
+       !ec->redirected ||
+       !e_util_strcmp("wl_pointer-cursor", ec->icccm.window_role))
      plane->set_counter = 0;
    else
      {