Tweak adjustment of setting opaque region.
authorChris Michael <cp.michael@samsung.com>
Tue, 10 Sep 2013 10:43:42 +0000 (11:43 +0100)
committerChris Michael <cp.michael@samsung.com>
Tue, 10 Sep 2013 13:29:18 +0000 (14:29 +0100)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
legacy/elementary/src/lib/elm_win.c

index 1a91f05..5937e40 100644 (file)
@@ -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
 }