summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-11-02 15:04:24 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-11-23 13:04:12 +0900
commitb2dbf9d9dd52d286e357e988ba55023b7eb9cb13 (patch)
tree6be04090105fdd9bb49d2f262dd0471cad63b81e /src/lib/ecore_evas
parent2147d5cb335840f3cdb3ef99bce1b819ae896fae (diff)
win: Fix maximized geometry with CSD in X
There is still a geometry issue after un-maximizing.
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c3
-rw-r--r--src/lib/ecore_evas/ecore_evas_private.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 440088345d..421345daa9 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2240,10 +2240,13 @@ EAPI void
2240ecore_evas_shadow_geometry_set(Ecore_Evas *ee, int l, int r, int t, int b) 2240ecore_evas_shadow_geometry_set(Ecore_Evas *ee, int l, int r, int t, int b)
2241{ 2241{
2242 ECORE_EVAS_CHECK(ee); 2242 ECORE_EVAS_CHECK(ee);
2243 if ((ee->shadow.l == l) && (ee->shadow.r == r) &&
2244 (ee->shadow.t == t) && (ee->shadow.b == b)) return;
2243 ee->shadow.l = l; 2245 ee->shadow.l = l;
2244 ee->shadow.r = r; 2246 ee->shadow.r = r;
2245 ee->shadow.t = t; 2247 ee->shadow.t = t;
2246 ee->shadow.b = b; 2248 ee->shadow.b = b;
2249 ee->shadow.changed = EINA_TRUE;
2247} 2250}
2248 2251
2249EAPI void 2252EAPI void
diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h
index c1ea4c0ecc..5184e94d2b 100644
--- a/src/lib/ecore_evas/ecore_evas_private.h
+++ b/src/lib/ecore_evas/ecore_evas_private.h
@@ -207,6 +207,7 @@ struct _Ecore_Evas
207 207
208 struct { 208 struct {
209 int l, r, t, b; 209 int l, r, t, b;
210 int changed : 1;
210 } shadow; 211 } shadow;
211 212
212 struct { 213 struct {