From c17e91697805fd717b1c0bd2b51dba4442a42970 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 10 Aug 2002 19:04:55 +0000 Subject: [PATCH] unshade window if shaded, from JeyaSudha (meta_window_make_fullscreen): 2002-08-10 Havoc Pennington * src/window.c (meta_window_maximize): unshade window if shaded, from JeyaSudha (meta_window_make_fullscreen): ditto --- ChangeLog | 6 ++++++ src/window.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index b8dab99f6..2b0bf451b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-08-10 Havoc Pennington + + * src/window.c (meta_window_maximize): unshade window if shaded, + from JeyaSudha + (meta_window_make_fullscreen): ditto + 2002-08-10 Havoc Pennington * src/menu.c: reorder the menu items so that Close is at the diff --git a/src/window.c b/src/window.c index 259d8f548..0b3e264fc 100644 --- a/src/window.c +++ b/src/window.c @@ -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;