mirror of
https://github.com/brl/mutter.git
synced 2025-08-01 22:24:41 +00:00
when unminimizing an app, if we're in "show desktop" (all windows
2001-12-07 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_unminimize): when unminimizing an app, if we're in "show desktop" (all windows minimized) mode, leave show desktop mode. Will occasionally be a bit weird, but allows people to recover via task list if they accidentally do the show desktop thing, and don't know what's going on.
This commit is contained in:

committed by
Havoc Pennington

parent
e312daffd5
commit
8c8d500495
@@ -1133,6 +1133,9 @@ meta_window_minimize (MetaWindow *window)
|
||||
void
|
||||
meta_window_unminimize (MetaWindow *window)
|
||||
{
|
||||
if (window->display->showing_desktop)
|
||||
meta_display_unshow_desktop (window->display);
|
||||
|
||||
if (window->minimized)
|
||||
{
|
||||
window->minimized = FALSE;
|
||||
|
Reference in New Issue
Block a user