elementary: Call ecore_wl_window_update_location function when opaque region gets...
authorChris Michael <cp.michael@samsung.com>
Thu, 30 Jul 2015 19:26:39 +0000 (15:26 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 30 Jul 2015 19:26:39 +0000 (15:26 -0400)
Summary: This fixes T2624 where ecore_wl_window_update_location was
being called inside the Ecore_Evas too often. It is now only called
from the Elementary window whenever we update the opaque region. This
should help to fix the resize issue that we are seeing in wl.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/elm_win.c

index 0e34a7e1a82e61d712525abad274a8dac7c6e4f4..5aefe7dbdd9d69277c7b0eae65105a24add27306 100644 (file)
@@ -1237,12 +1237,14 @@ _elm_win_opaque_update(Elm_Win_Data *sd)
      {
         ecore_evas_geometry_get(sd->ee, NULL, NULL, &ow, &oh);
         ecore_wl_window_opaque_region_set(sd->wl.win, 0, 0, ow, oh);
+        ecore_wl_window_update_location(sd->wl.win, 0, 0, ow, oh);
         return;
      }
 
    edje_object_part_geometry_get(sd->frame_obj, "elm.spacer.opaque",
                                  &ox, &oy, &ow, &oh);
    ecore_wl_window_opaque_region_set(sd->wl.win, ox, oy, ow, oh);
+   ecore_wl_window_update_location(sd->wl.win, ox, oy, ow, oh);
 }
 #endif