devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=2a85a53d142a44ac55a5ee7e838ea0f35e5a5b56

commit 2a85a53d142a44ac55a5ee7e838ea0f35e5a5b56
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Mon Dec 7 15:34:19 2015 -0500

    elementary: Update ecore wayland window geometry
    
    As Elementary handles the window border theme, we can more accurately
    set ecore_wl2 window geometry from here. The window geometry is
    defined as the "visible bounds" from the user's perspective, so the
    values we set here should come from the theme.
    
    @fix
    
    ref T2919
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/elm_win.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 3fbe2bf..1f982c8 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1267,16 +1267,14 @@ _elm_win_opaque_update(Elm_Win_Data *sd)
      {
         ecore_evas_geometry_get(sd->ee, NULL, NULL, &ow, &oh);
         ecore_wl2_window_opaque_region_set(sd->wl.win, 0, 0, ow, oh);
-        /* TODO */
-        /* ecore_wl_window_update_location(sd->wl.win, 0, 0); */
+        ecore_wl2_window_geometry_set(sd->wl.win, 0, 0, ow, oh);
         return;
      }
 
    edje_object_part_geometry_get(sd->frame_obj, "elm.spacer.opaque",
                                  &ox, &oy, &ow, &oh);
    ecore_wl2_window_opaque_region_set(sd->wl.win, ox, oy, ow, oh);
-   /* TODO */
-   /* ecore_wl_window_update_location(sd->wl.win, ox, oy); */
+   ecore_wl2_window_geometry_set(sd->wl.win, ox, oy, ow, oh);
 }
 #endif
 

-- 


Reply via email to