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:
bd776b1
)
zero out wl surface opaque region on commit in all cases
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 17 Jul 2015 19:58:14 +0000
(15:58 -0400)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Fri, 17 Jul 2015 19:58:14 +0000
(15:58 -0400)
it's possible that the opaque ptr may exist but have no regions,
which will result in the previous frame's opaque region being used
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
231acda
..
38e8dbe
100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-1203,6
+1203,7
@@
_e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
}
/* put state opaque into surface */
+ e_pixmap_image_opaque_set(ec->pixmap, 0, 0, 0, 0);
if (state->opaque)
{
Eina_Rectangle *rect;
@@
-1218,8
+1219,6
@@
_e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
eina_iterator_free(itr);
}
- else
- e_pixmap_image_opaque_set(ec->pixmap, 0, 0, 0, 0);
/* put state input into surface */
if (state->input)