aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c
diff options
context:
space:
mode:
authorJiyoun Park <jijibe99@gmail.com>2011-10-31 10:46:35 +0000
committerJiyoun Park <jijibe99@gmail.com>2011-10-31 10:46:35 +0000
commit8edcfacd3f7386d34144762aced4a6e82d37ddb2 (patch)
tree08e4923e19d9423ff0f64fe1b6b8a9b2088da26a /legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c
parentevas/evas_object_polygon - fixed wrong. (diff)
downloadefl-8edcfacd3f7386d34144762aced4a6e82d37ddb2.tar.gz
Implement ee's req value to other windowing system.
currently only x windowing system implement this value. SVN revision: 64554
Diffstat (limited to 'legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c')
-rw-r--r--legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c
index 91198c7977..e19fb058c9 100644
--- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c
+++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_ews.c
@@ -178,6 +178,9 @@ _ecore_evas_ews_free(Ecore_Evas *ee)
static void
_ecore_evas_ews_move(Ecore_Evas *ee, int x, int y)
{
+ ee->req.x = x;
+ ee->req.y = y;
+
if ((x == ee->x) && (y == ee->y)) return;
ee->x = x;
ee->y = y;
@@ -190,6 +193,9 @@ _ecore_evas_ews_move(Ecore_Evas *ee, int x, int y)
static void
_ecore_evas_ews_managed_move(Ecore_Evas *ee, int x, int y)
{
+ ee->req.x = x;
+ ee->req.y = y;
+
if ((x == ee->x) && (y == ee->y)) return;
ee->x = x;
ee->y = y;
@@ -238,6 +244,10 @@ _ecore_evas_ews_resize(Ecore_Evas *ee, int w, int h)
{
if (w < 1) w = 1;
if (h < 1) h = 1;
+
+ ee->req.w = w;
+ ee->req.h = h;
+
if ((w == ee->w) && (h == ee->h)) return;
ee->w = w;
ee->h = h;
@@ -1105,6 +1115,10 @@ ecore_evas_ews_new(int x, int y, int w, int h)
ee->y = 0;
ee->w = w;
ee->h = h;
+ ee->req.x = ee->x;
+ ee->req.y = ee->y;
+ ee->req.w = ee->w;
+ ee->req.h = ee->h;
/* init evas here */
ee->evas = evas_new();