e_comp_wl: set nocomp when there is a client which gets subsurface 78/66778/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 21 Apr 2016 05:11:51 +0000 (14:11 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 21 Apr 2016 05:11:51 +0000 (14:11 +0900)
Change-Id: I54c1c2e3d4f26c859c6d9743cf81bca9c3b58a86

src/bin/e_comp_wl.c

index 8faf0f5705af2b575f1263b5685f70a54357bf5f..091803f1c167fa422ea84b845c7bffccc20566d2 100644 (file)
@@ -3108,6 +3108,11 @@ _e_comp_wl_subsurface_cb_position_set(struct wl_client *client EINA_UNUSED, stru
    sdata->position.x = x;
    sdata->position.y = y;
    sdata->position.set = EINA_TRUE;
+
+#ifdef HAVE_HWC
+   /* set nocomp when there is a client which gets subsurface */
+   if (e_comp->hwc && e_comp->nocomp) e_comp_nocomp_end(__FUNCTION__);
+#endif
 }
 
 static void