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:
1bf6603
)
correctly set/update wl opaque regions
author
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 10 Feb 2015 01:27:18 +0000
(20:27 -0500)
committer
Mike Blumenkrantz
<zmike@osg.samsung.com>
Tue, 10 Feb 2015 01:44:01 +0000
(20:44 -0500)
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 0d0c99f521959665371546a817f39f4d700bcfc7..f96989fed1557df455b3e18d76e803626ddb8229 100644
(file)
--- a/
src/bin/e_comp_wl.c
+++ b/
src/bin/e_comp_wl.c
@@
-1030,6
+1030,7
@@
_e_comp_wl_surface_cb_opaque_region_set(struct wl_client *client EINA_UNUSED, st
/* trap for clients which are being deleted */
if (e_object_is_del(E_OBJECT(ec))) return;
+ eina_tiler_clear(ec->comp_data->pending.opaque);
if (region_resource)
{
Eina_Tiler *tmp;
@@
-1040,12
+1041,6
@@
_e_comp_wl_surface_cb_opaque_region_set(struct wl_client *client EINA_UNUSED, st
eina_tiler_union(ec->comp_data->pending.opaque, tmp);
}
- else
- {
- eina_tiler_clear(ec->comp_data->pending.opaque);
- eina_tiler_rect_add(ec->comp_data->pending.opaque,
- &(Eina_Rectangle){0, 0, ec->client.w, ec->client.h});
- }
}
static void