projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
511021f
)
e_comp_wl: don't change usable of pixmap if state of ec is unmap
author
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 19 Nov 2018 11:30:04 +0000
(20:30 +0900)
committer
Gwanglim Lee
<gl77.lee@samsung.com>
Mon, 19 Nov 2018 11:51:39 +0000
(20:51 +0900)
Change-Id: Id9b6246b95938ee66e88a072462bc922c2946dde
src/bin/e_comp_wl.c
patch
|
blob
|
history
diff --git
a/src/bin/e_comp_wl.c
b/src/bin/e_comp_wl.c
index
197bd3b
..
9d8c7ad
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-4962,7
+4962,9
@@
e_comp_wl_surface_attach(E_Client *ec, E_Comp_Wl_Buffer *buffer)
e_comp_wl_buffer_reference(&ec->comp_data->buffer_ref, buffer);
/* set usable early because shell module checks this */
- e_pixmap_usable_set(ec->pixmap, (buffer != NULL));
+ if (ec->comp_data->shell.surface || ec->comp_data->sub.data)
+ e_pixmap_usable_set(ec->pixmap, (buffer != NULL));
+
e_pixmap_resource_set(ec->pixmap, buffer);
e_pixmap_dirty(ec->pixmap);
e_pixmap_refresh(ec->pixmap);