From 0bc84ac6b0d7d92b110e18dcfea97ccfd92cc2f6 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 31 Mar 2016 14:58:55 -0400 Subject: [PATCH] remove clamping for wl xdg popup configures I don't remember why I added it but it's wrong and so was I --- src/modules/wl_desktop_shell/e_mod_main.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/modules/wl_desktop_shell/e_mod_main.c b/src/modules/wl_desktop_shell/e_mod_main.c index ab35a68e5..873e388bd 100644 --- a/src/modules/wl_desktop_shell/e_mod_main.c +++ b/src/modules/wl_desktop_shell/e_mod_main.c @@ -1000,14 +1000,8 @@ _e_xdg_shell_surface_configure(struct wl_resource *resource, Evas_Coord x, Evas_ (ec->netwm.type == E_WINDOW_TYPE_POPUP_MENU) || (ec->netwm.type == E_WINDOW_TYPE_DROPDOWN_MENU)) { - x = E_CLAMP(ec->parent->client.x + ec->comp_data->popup.x, - ec->parent->client.x, - ec->parent->client.x + - ec->parent->client.w - ec->client.w); - y = E_CLAMP(ec->parent->client.y + ec->comp_data->popup.y, - ec->parent->client.y, - ec->parent->client.y + - ec->parent->client.h - ec->client.h); + x = ec->parent->client.x + ec->comp_data->popup.x; + y = ec->parent->client.y + ec->comp_data->popup.y; } }