mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
disable maximize, fullscreen, shade via keybindings on windows that don't
2002-08-09 Havoc Pennington <hp@pobox.com> * src/keybindings.c (handle_toggle_maximize): disable maximize, fullscreen, shade via keybindings on windows that don't support it.
This commit is contained in:
parent
4fcc9f052e
commit
79857803de
@ -1,3 +1,9 @@
|
|||||||
|
2002-08-09 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/keybindings.c (handle_toggle_maximize): disable maximize,
|
||||||
|
fullscreen, shade via keybindings on windows that don't support
|
||||||
|
it.
|
||||||
|
|
||||||
2002-08-08 Craig Black <blackc@speakeasy.net>
|
2002-08-08 Craig Black <blackc@speakeasy.net>
|
||||||
|
|
||||||
Patch to provide extra cues when using the window menu
|
Patch to provide extra cues when using the window menu
|
||||||
|
@ -2409,7 +2409,7 @@ handle_toggle_fullscreen (MetaDisplay *display,
|
|||||||
{
|
{
|
||||||
if (window->fullscreen)
|
if (window->fullscreen)
|
||||||
meta_window_unmake_fullscreen (window);
|
meta_window_unmake_fullscreen (window);
|
||||||
else
|
else if (window->has_resize_func)
|
||||||
meta_window_make_fullscreen (window);
|
meta_window_make_fullscreen (window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2424,7 +2424,7 @@ handle_toggle_maximize (MetaDisplay *display,
|
|||||||
{
|
{
|
||||||
if (window->maximized)
|
if (window->maximized)
|
||||||
meta_window_unmaximize (window);
|
meta_window_unmaximize (window);
|
||||||
else
|
else if (window->has_maximize_func)
|
||||||
meta_window_maximize (window);
|
meta_window_maximize (window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2439,7 +2439,7 @@ handle_toggle_shade (MetaDisplay *display,
|
|||||||
{
|
{
|
||||||
if (window->shaded)
|
if (window->shaded)
|
||||||
meta_window_unshade (window);
|
meta_window_unshade (window);
|
||||||
else
|
else if (window->has_shade_func)
|
||||||
meta_window_shade (window);
|
meta_window_shade (window);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user