ecore-evas-wl: Ooops, Fix opaque & input regions being set to incorrect values
authorChris Michael <cp.michael@samsung.com>
Fri, 11 Apr 2014 06:21:20 +0000 (07:21 +0100)
committerChris Michael <cp.michael@samsung.com>
Tue, 15 Apr 2014 09:41:54 +0000 (10:41 +0100)
@fix: As it turns out, we cannot just blindly set the regions here
during resize. Elementary apps will set the opaque region to account
for any edj frames, and having the region_set calls Here was
causing issues....

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index e1ef5a6..8081b9f 100644 (file)
@@ -739,11 +739,7 @@ _ecore_evas_wl_common_resize(Ecore_Evas *ee, int w, int h)
           evas_object_resize(wdata->frame, w, h);
 
         if (wdata->win)
-          {
-             ecore_wl_window_update_size(wdata->win, w, h);
-             ecore_wl_window_input_region_set(wdata->win, 0, 0, w, h);
-             ecore_wl_window_opaque_region_set(wdata->win, 0, 0, w, h);
-          }
+          ecore_wl_window_update_size(wdata->win, w, h);
 
         if (ee->func.fn_resize) ee->func.fn_resize(ee);
      }