mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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:
parent
75109ac211
commit
c17e916978
@ -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
|
||||
|
@ -1595,6 +1595,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;
|
||||
|
||||
/* FIXME why did I put this here? */
|
||||
@ -1646,6 +1649,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;
|
||||
|
||||
meta_stack_update_layer (window->screen->stack, window);
|
||||
|
Loading…
Reference in New Issue
Block a user