summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-04-26 07:41:17 +0100
committerChris Michael <cp.michael@samsung.com>2013-04-26 07:41:17 +0100
commit25f1706fa80d9641e8620bbd79c85f900cfe8263 (patch)
treeb8a314d7b2aa062b0b217e482c3cb447a6bd6971
parent1435a48d4dfd43ddfc815cd53f80e2b4f351affd (diff)
Fix variable usage in framespace get. Thanks Seb ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c5
1 files changed, 2 insertions, 3 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 82f5192..96a4f74 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
@@ -524,12 +524,12 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
524 { 524 {
525 int fw, fh; 525 int fw, fh;
526 Evas_Engine_Info_Wayland_Shm *einfo; 526 Evas_Engine_Info_Wayland_Shm *einfo;
527 wdata->win->resizing = EINA_TRUE;
528 527
528 wdata->win->resizing = EINA_TRUE;
529 if ((ee->rotation == 90) || (ee->rotation == 270)) 529 if ((ee->rotation == 90) || (ee->rotation == 270))
530 evas_output_framespace_get(ee->evas, NULL, NULL, &fh, &fw); 530 evas_output_framespace_get(ee->evas, NULL, NULL, &fh, &fw);
531 else 531 else
532 evas_output_framespace_get(ee->evas, NULL, NULL, &fh, &fw); 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))) 534 if ((einfo = (Evas_Engine_Info_Wayland_Shm *)evas_engine_info_get(ee->evas)))
535 if ((ee->rotation == 90) || (ee->rotation == 270)) 535 if ((ee->rotation == 90) || (ee->rotation == 270))
@@ -538,7 +538,6 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
538 ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location); 538 ecore_wl_window_resize(wdata->win, ee->w + fw, ee->h + fh, location);
539 539
540 einfo->info.edges = location; 540 einfo->info.edges = location;
541
542 } 541 }
543} 542}
544#endif 543#endif