summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-09-11 14:13:53 +0100
committerChris Michael <cp.michael@samsung.com>2013-09-11 14:13:53 +0100
commitbd4d6cb6cca0f3b5816509ecca6fd305c104a2a6 (patch)
treef1b0023c7a0abd4da1aede9d23b464fc9c759039
parentdc0122285879bd784dfd218daa7b2422b5a19f28 (diff)
Also reset opaque region is transparent is toggled.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 5f8b958ab5..555ebc6dd8 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -419,6 +419,9 @@ ecore_wl_window_transparent_set(Ecore_Wl_Window *win, Eina_Bool transparent)
419 win->transparent = transparent; 419 win->transparent = transparent;
420 if (win->transparent) 420 if (win->transparent)
421 ecore_wl_window_opaque_region_set(win, 0, 0, 0, 0); 421 ecore_wl_window_opaque_region_set(win, 0, 0, 0, 0);
422 else
423 ecore_wl_window_opaque_region_set(win, win->opaque.x, win->opaque.y,
424 win->opaque.w, win->opaque.h);
422} 425}
423 426
424EAPI Eina_Bool 427EAPI Eina_Bool