summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-10-31 17:21:33 +0000
committerChris Michael <cp.michael@samsung.com>2013-10-31 17:21:33 +0000
commit20f6676eb6ed0020c07272c9f59a20faf6ff651c (patch)
tree406b928b3d56e166d5c1097db318972f50153e11 /src/modules
parentc96cc485ab145f62a882597436ff7bc6155d0509 (diff)
Ok, This actually fixes maximized state properly now :) Basically, we
still need to account for frame height, but not frame width when we are maximizing. Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 7d3d444f0a..4b99563e60 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -224,19 +224,20 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
224 224
225 nw = ev->w; 225 nw = ev->w;
226 nh = ev->h; 226 nh = ev->h;
227 if ((!ee->prop.maximized) && (!ee->prop.fullscreen)) 227
228 if (!ee->prop.fullscreen)
228 { 229 {
229 int fw = 0, fh = 0; 230 int fw = 0, fh = 0;
230 231
231 evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh); 232 evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
232 if ((ee->rotation == 90) || (ee->rotation == 270)) 233 if ((ee->rotation == 90) || (ee->rotation == 270))
233 { 234 {
234 nw = ev->w - fh; 235 if (!ee->prop.maximized) nw = ev->w - fh;
235 nh = ev->h - fw; 236 nh = ev->h - fw;
236 } 237 }
237 else 238 else
238 { 239 {
239 nw = ev->w - fw; 240 if (!ee->prop.maximized) nw = ev->w - fw;
240 nh = ev->h - fh; 241 nh = ev->h - fh;
241 } 242 }
242 } 243 }