unshade window if shaded, from JeyaSudha (meta_window_make_fullscreen):

2002-08-10  Havoc Pennington  <hp@pobox.com>

	* src/window.c (meta_window_maximize): unshade window if shaded,
	from JeyaSudha
	(meta_window_make_fullscreen): ditto
This commit is contained in:
Havoc Pennington 2002-08-10 19:04:55 +00:00 committed by Havoc Pennington
parent 75109ac211
commit c17e916978
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-08-10 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_maximize): unshade window if shaded,
from JeyaSudha
(meta_window_make_fullscreen): ditto
2002-08-10 Havoc Pennington <hp@pobox.com>
* src/menu.c: reorder the menu items so that Close is at the

View File

@ -1594,6 +1594,9 @@ meta_window_maximize (MetaWindow *window)
{
meta_topic (META_DEBUG_WINDOW_OPS,
"Maximizing %s\n", window->desc);
if (window->shaded)
meta_window_unshade (window);
window->maximized = TRUE;
@ -1645,6 +1648,9 @@ meta_window_make_fullscreen (MetaWindow *window)
{
meta_topic (META_DEBUG_WINDOW_OPS,
"Fullscreening %s\n", window->desc);
if (window->shaded)
meta_window_unshade (window);
window->fullscreen = TRUE;