devilhorns pushed a commit to branch master.

commit a069d2a06fcda3a72a700b7902d05bd375f640bf
Author: Chris Michael <[email protected]>
Date:   Tue Sep 10 11:43:42 2013 +0100

    Tweak adjustment of setting opaque region.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/elm_win.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 1a91f05..5937e40 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -2229,7 +2229,7 @@ _elm_win_frame_obj_move(void *data,
      }
 
 #ifdef HAVE_ELEMENTARY_WAYLAND
-   ecore_wl_window_opaque_region_set(sd->wl.win, -fx, -sy, sw, sh);
+   ecore_wl_window_opaque_region_set(sd->wl.win, -fx, -(fy - sy), sw, sh);
 #endif
 }
 
@@ -2261,7 +2261,7 @@ _elm_win_frame_obj_resize(void *data,
      }
 
 #ifdef HAVE_ELEMENTARY_WAYLAND
-   ecore_wl_window_opaque_region_set(sd->wl.win, -fx, -sy, sw, sh);
+   ecore_wl_window_opaque_region_set(sd->wl.win, -fx, -(fy - sy), sw, sh);
 #endif
 }
 

-- 

------------------------------------------------------------------------------
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