summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-10-31 16:58:21 +0000
committerChris Michael <cp.michael@samsung.com>2013-10-31 16:58:21 +0000
commitc96cc485ab145f62a882597436ff7bc6155d0509 (patch)
treeacc4d5536c0266cba9b7cc76a4f6248cbffee88e /src/modules
parent1a5bdb408833a70d618ee3857eb0176a896ecfaa (diff)
Fix ecore_evas_wayland maximized support to function properly
Previously, a "maximize" of an efl client would not actually resize to the provided size as it would account for framespace width & height. This fixes that so now "maximize" is Actually maximized. 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, 3 insertions, 4 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 a40717e16b..7d3d444f0a 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
@@ -217,15 +217,14 @@ _ecore_evas_wl_common_cb_window_configure(void *data EINA_UNUSED, int type EINA_
217 217
218 if ((ee->x != ev->x) || (ee->y != ev->y)) 218 if ((ee->x != ev->x) || (ee->y != ev->y))
219 { 219 {
220 ee->req.x = ee->x; 220 ee->req.x = ev->x;
221 ee->req.y = ee->y; 221 ee->req.y = ev->y;
222 if (ee->func.fn_move) ee->func.fn_move(ee); 222 if (ee->func.fn_move) ee->func.fn_move(ee);
223 } 223 }
224 224
225 nw = ev->w; 225 nw = ev->w;
226 nh = ev->h; 226 nh = ev->h;
227 227 if ((!ee->prop.maximized) && (!ee->prop.fullscreen))
228 if ((ee->prop.maximized) || (!ee->prop.fullscreen))
229 { 228 {
230 int fw = 0, fh = 0; 229 int fw = 0, fh = 0;
231 230