mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 09:16:10 -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user