summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-04-29 12:56:08 +0100
committerChris Michael <cp.michael@samsung.com>2013-04-29 12:56:08 +0100
commitd3c79b813e87415c27552d77b102ad9e401493a7 (patch)
tree8d8c36275060c5cde7a5b06e131cacfb2d707536 /src
parent64a598d0533f7a09d91057465b5f3e0ce7379e07 (diff)
Fix engine_info_get function call being in the wrong place.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c4
1 files changed, 2 insertions, 2 deletions
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 96a4f74..1764ba1 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
@@ -531,13 +531,13 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
531 else 531 else
532 evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh); 532 evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
533 533
534 if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
535 if ((ee->rotation == 90) || (ee->rotation == 270)) 534 if ((ee->rotation == 90) || (ee->rotation == 270))
536 ecore_wl_window_resize(wdata->win, ee->w + fh, ee->h + fw, location); 535 ecore_wl_window_resize(wdata->win, ee->w + fh, ee->h + fw, location);
537 else 536 else
538 ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location); 537 ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location);
539 538
540 einfo->info.edges = location; 539 if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
540 einfo->info.edges = location;
541 } 541 }
542} 542}
543#endif 543#endif