diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/core/window.c | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,9 @@ 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> + * src/include/frame.h * src/include/display.h * src/include/xprops.h diff --git a/src/core/window.c b/src/core/window.c index 188663ad..6d9d314f 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -1055,7 +1055,11 @@ meta_window_free (MetaWindow *window, g_assert (window->display->grab_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) unmaximize_window_before_freeing (window); |