diff options
author | Rafael Antognolli <rafael.antognolli@intel.com> | 2013-11-01 15:51:14 -0200 |
---|---|---|
committer | Rafael Antognolli <rafael.antognolli@intel.com> | 2013-11-01 15:51:14 -0200 |
commit | 8b852ad21eb106545100b122fa82d9923526b8af (patch) | |
tree | 0284755fc9a49edc87c352c31358232052bf07dc /src | |
parent | 6aa11cf89d305da10058edfade3e463cdaae9a2d (diff) |
ecore/wayland: Set win->resizing flag inside ecore_wl_resize().
Diffstat (limited to '')
3 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index fc71053d06..99463da11a 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c | |||
@@ -167,6 +167,7 @@ ecore_wl_window_resize(Ecore_Wl_Window *win, int w, int h, int location) | |||
167 | 167 | ||
168 | if (!win) return; | 168 | if (!win) return; |
169 | 169 | ||
170 | win->resizing = EINA_TRUE; | ||
170 | ecore_wl_window_update_size(win, w, h); | 171 | ecore_wl_window_update_size(win, w, h); |
171 | 172 | ||
172 | if (win->shell_surface) | 173 | if (win->shell_surface) |
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c index 4e32009bf9..442937d85e 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c | |||
@@ -524,7 +524,6 @@ _ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location) | |||
524 | { | 524 | { |
525 | int fw, fh; | 525 | int fw, fh; |
526 | 526 | ||
527 | wdata->win->resizing = EINA_TRUE; | ||
528 | evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh); | 527 | evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh); |
529 | 528 | ||
530 | if ((ee->rotation == 0) || (ee->rotation == 180)) | 529 | if ((ee->rotation == 0) || (ee->rotation == 180)) |
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c index 2e3a352780..cfdd33c20c 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c | |||
@@ -521,7 +521,6 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location) | |||
521 | { | 521 | { |
522 | int fw, fh; | 522 | int fw, fh; |
523 | 523 | ||
524 | wdata->win->resizing = EINA_TRUE; | ||
525 | evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh); | 524 | evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh); |
526 | 525 | ||
527 | if ((ee->rotation == 90) || (ee->rotation == 270)) | 526 | if ((ee->rotation == 90) || (ee->rotation == 270)) |