devilhorns pushed a commit to branch master.

commit bd4d6cb6cca0f3b5816509ecca6fd305c104a2a6
Author: Chris Michael <[email protected]>
Date:   Wed Sep 11 14:13:53 2013 +0100

    Also reset opaque region is transparent is toggled.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_wayland/ecore_wl_window.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/ecore_wayland/ecore_wl_window.c 
b/src/lib/ecore_wayland/ecore_wl_window.c
index 5f8b958..555ebc6 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)
    win->transparent = transparent;
    if (win->transparent)
      ecore_wl_window_opaque_region_set(win, 0, 0, 0, 0);
+   else
+     ecore_wl_window_opaque_region_set(win, win->opaque.x, win->opaque.y, 
+                                       win->opaque.w, win->opaque.h);
 }
 
 EAPI Eina_Bool

-- 

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk

Reply via email to