e_comp_canvas: update width and height of e_comp in resize callback 10/271310/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 26 Jan 2022 12:32:02 +0000 (21:32 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 18 Feb 2022 02:15:29 +0000 (11:15 +0900)
Change-Id: I8ee52c09ad281193624df2512e053782de4ea709

src/bin/e_comp_canvas.c

index 43e0ec108e8031cd95193abd3601e0e67460895d..76c43cefa2c47d89f33fe96225a76870e999fa00 100644 (file)
@@ -91,6 +91,7 @@ _e_comp_canvas_cb_zone_sort(const void *data1, const void *data2)
 static void
 _e_comp_canvas_resize(Ecore_Evas *ee EINA_UNUSED)
 {
+   ecore_evas_geometry_get(ee, NULL, NULL, &e_comp->w, &e_comp->h);
    e_comp_screen_e_screens_setup(e_comp->e_comp_screen, e_comp->w, e_comp->h);
    e_comp_canvas_update();
 }