forked from enlightenment/enlightenment
e17/fullscreen: simplify maximize restore
SVN revision: 58594
This commit is contained in:
parent
ae1512cebe
commit
e6491516df
|
@ -2598,12 +2598,7 @@ e_border_unfullscreen(E_Border *bd)
|
||||||
bd->need_fullscreen = 0;
|
bd->need_fullscreen = 0;
|
||||||
bd->desk->fullscreen_borders--;
|
bd->desk->fullscreen_borders--;
|
||||||
|
|
||||||
if (bd->maximized)
|
if (!bd->maximized)
|
||||||
{
|
|
||||||
e_border_maximize(bd, (e_config->maximize_policy & E_MAXIMIZE_TYPE) |
|
|
||||||
(bd->maximized & E_MAXIMIZE_DIRECTION));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
if ((screen_size.width != -1) && (screen_size.height != -1))
|
if ((screen_size.width != -1) && (screen_size.height != -1))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue