From d02679383fbf4f370402eda415f63f12f82c2b6f Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 28 Mar 2016 13:37:40 -0400 Subject: [PATCH] ignore x11 ConfigureRequest events when maximize_override is set --- src/bin/e_comp_x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index ce0759edb..32ba9a4e7 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -1626,7 +1626,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore ec->saved.y -= zone->y; } } - else + else if (!ec->maximize_override) { /* client is completely outside the screen, policy does not allow */ if (((!E_INTERSECTS(x, y, ec->w, ec->h, 0, 0, e_comp->w - 5, e_comp->h - 5)) && @@ -1650,7 +1650,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore { if ((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE) e_comp_object_frame_wh_unadjust(ec->frame, w, h, &ec->saved.w, &ec->saved.h); - else + else if (!ec->maximize_override) { evas_object_resize(ec->frame, w, h); }