Applied patch from Ed Catmur to fix #528787

2008-05-19  Iain Holmes  <iain@gnome.org>

        * src/core/window.c: Applied patch from Ed Catmur to fix #528787



svn path=/trunk/; revision=3716
This commit is contained in:
Iain Holmes 2008-05-19 00:14:09 +00:00 committed by Iain Holmes
parent f141692ca2
commit 3405f3d8c8
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-05-19 Iain Holmes <iain@gnome.org>
* src/core/window.c: Applied patch from Ed Catmur to fix #528787
2008-05-19 Iain Holmes <iain@gnome.org> 2008-05-19 Iain Holmes <iain@gnome.org>
* src/include/frame.h * src/include/frame.h

View File

@ -1055,7 +1055,11 @@ meta_window_free (MetaWindow *window,
g_assert (window->display->grab_window != window); g_assert (window->display->grab_window != window);
if (window->display->focus_window == window) if (window->display->focus_window == window)
{
window->display->focus_window = NULL; window->display->focus_window = NULL;
meta_compositor_set_active_window (window->display->compositor,
window->screen, NULL);
}
if (window->maximized_horizontally || window->maximized_vertically) if (window->maximized_horizontally || window->maximized_vertically)
unmaximize_window_before_freeing (window); unmaximize_window_before_freeing (window);