e_pixmap: do not unset/clear pixmap in e_pixmap_parent_window_set 39/257439/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 26 Apr 2021 04:58:47 +0000 (13:58 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 26 Apr 2021 05:14:56 +0000 (14:14 +0900)
We've modified code to set the E_Pixmap's parent window only.
If we need to set unusable and clear the pixmap, then we have to call these
functions explicitly.

Change-Id: I190b79c73f1c76eb830c853f7c23138f1c4b5050

src/bin/e_pixmap.c

index 7b6d3dfdd0d1b9c3e9379471cf1d8d6d6832c2b5..63ec037005970cf56a6e5c3d5b55e37ccac9547e 100644 (file)
@@ -392,8 +392,9 @@ e_pixmap_parent_window_set(E_Pixmap *cp, Ecore_Window win)
 
    if (cp->parent == win) return;
 
-   e_pixmap_usable_set(cp, 0);
-   e_pixmap_clear(cp);
+   // if you need to unset and clear a pixmap, then call below funcsionts explicitly
+   //e_pixmap_usable_set(cp, 0);
+   //e_pixmap_clear(cp);
 
    cp->parent = win;
 }