If a window is resized manually when maximized, unset the maximize state.

SVN revision: 24297
This commit is contained in:
Christopher Michael 2006-07-29 15:09:53 +00:00
parent b39f202fd7
commit 9a1e00ed32
1 changed files with 6 additions and 0 deletions

View File

@ -6657,6 +6657,12 @@ _e_border_resize_end(E_Border *bd)
}
e_resize_end();
resize = NULL;
/* If this border was maximized, we need to unset Maximized state or
* on restart, E still thinks it's maximized */
if (bd->maximized != E_MAXIMIZE_NONE)
e_hints_window_maximized_set(bd, bd->maximized & E_MAXIMIZE_NONE,
bd->maximized & E_MAXIMIZE_NONE);
return 1;
}