summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-08-10 19:04:55 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-08-10 19:04:55 +0000
commitc17e91697805fd717b1c0bd2b51dba4442a42970 (patch)
treefb9bbaac2765fb08227d2ded6eb6fb3712b0a94d /src
parent75109ac21182171a8fcfce26197558b185ecea46 (diff)
downloadmetacity-c17e91697805fd717b1c0bd2b51dba4442a42970.tar.gz
metacity-c17e91697805fd717b1c0bd2b51dba4442a42970.tar.bz2
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
Diffstat (limited to 'src')
-rw-r--r--src/window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 259d8f5..0b3e264 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;