forked from enlightenment/enlightenment
when removing VERTICAL maximize state, also remove LEFT and RIGHT states
LEFT and RIGHT are supersets of VERTICAL which serve no purpose on their own, so remove them when removing VERTICAL fix T2770
This commit is contained in:
parent
d99869fed2
commit
95b9770f08
|
@ -3838,7 +3838,11 @@ e_client_unmaximize(E_Client *ec, E_Maximize max)
|
|||
vert = EINA_TRUE;
|
||||
y = ec->saved.y + ec->zone->y;
|
||||
if ((max & E_MAXIMIZE_VERTICAL) == E_MAXIMIZE_VERTICAL)
|
||||
ec->maximized &= ~E_MAXIMIZE_VERTICAL;
|
||||
{
|
||||
ec->maximized &= ~E_MAXIMIZE_VERTICAL;
|
||||
ec->maximized &= ~E_MAXIMIZE_LEFT;
|
||||
ec->maximized &= ~E_MAXIMIZE_RIGHT;
|
||||
}
|
||||
if ((max & E_MAXIMIZE_LEFT) == E_MAXIMIZE_LEFT)
|
||||
ec->maximized &= ~E_MAXIMIZE_LEFT;
|
||||
if ((max & E_MAXIMIZE_RIGHT) == E_MAXIMIZE_RIGHT)
|
||||
|
|
Loading…
Reference in New Issue