discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=d576c58bd7007debaf0eb15ef6c67fbab84da0f6
commit d576c58bd7007debaf0eb15ef6c67fbab84da0f6 Author: Derek Foreman <der...@osg.samsung.com> Date: Thu Feb 26 15:27:52 2015 -0500 clamp to parent height, not parent y co-ordinate. Summary: Clamping to Y makes pop ups get shifted up if a window is near the top of the screen. Reviewers: devilhorns, zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2060 --- src/modules/wl_desktop_shell/e_mod_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c index 4ac59c0..a70267a 100644 --- a/src/modules/wl_desktop_shell/e_mod_main.c +++ b/src/modules/wl_desktop_shell/e_mod_main.c @@ -1318,7 +1318,7 @@ _e_xdg_shell_cb_popup_get(struct wl_client *client, struct wl_resource *resource if (ec->parent) { cdata->popup.x = E_CLAMP(x, 0, ec->parent->client.w); - cdata->popup.y = E_CLAMP(y, 0, ec->parent->client.y); + cdata->popup.y = E_CLAMP(y, 0, ec->parent->client.h); } else { --