illogict pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=485fb36f024e5766c57b0850541ab5ace939b6c1
commit 485fb36f024e5766c57b0850541ab5ace939b6c1 Author: Chidambar Zinnoury <[email protected]> Date: Mon Apr 21 09:18:27 2014 +0200 Bugfix: e fileman: Client coordinates are not accounted against current zone position, so we should use them when computing maximum width and height. This helps computing optimal dimensions when using multiple screens. --- src/modules/fileman/e_fwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c index 5dfcf51..2230a51 100644 --- a/src/modules/fileman/e_fwin.c +++ b/src/modules/fileman/e_fwin.c @@ -654,7 +654,7 @@ _e_fwin_bg_mouse_down(E_Fwin *fwin, Evas_Object *obj __UNUSED__, void *event __U if (fwin->win->client->fullscreen) e_client_unfullscreen(fwin->win->client); e_zone_useful_geometry_get(fwin->win->client->zone, &zx, &zy, &zw, &zh); x = fwin->win->client->x, y = fwin->win->client->y; - if (!e_fm2_optimal_size_calc(fwin->cur_page->fm_obj, zw - x, zh - y, &w, &h)) return; + if (!e_fm2_optimal_size_calc(fwin->cur_page->fm_obj, zw + zx - x, zh + zy - y, &w, &h)) return; evas_object_geometry_get(fwin->cur_page->fm_obj, &cx, &cy, &cw, &ch); if (x + w > zx + zw) w = zx + zw - x; --
