mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
window: Explicitly exclude unmanaging window from focus again
Since commit b3b9d9e16 we no longer have to pass the unmanaging window to make sure we don't try to focus it again, however the parameter also influences the focus policy by giving ancestors preference over the normal stack order. https://gitlab.gnome.org/GNOME/mutter/issues/15 (cherry picked from commit d99442d6e6b7c9b383863cc754db609398d4e65b)
This commit is contained in:
parent
a83e72d7c1
commit
7969c473ac
@ -1469,7 +1469,9 @@ meta_window_unmanage (MetaWindow *window,
|
|||||||
meta_topic (META_DEBUG_FOCUS,
|
meta_topic (META_DEBUG_FOCUS,
|
||||||
"Focusing default window since we're unmanaging %s\n",
|
"Focusing default window since we're unmanaging %s\n",
|
||||||
window->desc);
|
window->desc);
|
||||||
meta_workspace_focus_default_window (window->screen->active_workspace, NULL, timestamp);
|
meta_workspace_focus_default_window (window->screen->active_workspace,
|
||||||
|
window,
|
||||||
|
timestamp);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user