discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=12d1d70ca451d94bdae56a06220ddf7f33472de1

commit 12d1d70ca451d94bdae56a06220ddf7f33472de1
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Apr 5 15:00:54 2016 -0400

    reject client maximize attempts using identical maximize params
---
 src/bin/e_client.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 6f45f3e..7f771ab 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3740,6 +3740,7 @@ e_client_maximize(E_Client *ec, E_Maximize max)
    E_OBJECT_TYPE_CHECK(ec, E_CLIENT_TYPE);
 
    if (!ec->zone) return;
+   if (ec->maximized == max) return;
    if (!(max & E_MAXIMIZE_DIRECTION)) max |= E_MAXIMIZE_BOTH;
 
    if ((ec->shaded) || (ec->shading)) return;

-- 


Reply via email to