1 --- metacity-2.22.0/src/core/window.c.origi 2008-05-22 15:40:44.761072000 +0800
2 +++ metacity-2.22.0/src/core/window.c 2008-05-22 15:42:15.270058000 +0800
4 maximize_vertically = directions & META_MAXIMIZE_VERTICAL;
5 g_assert (maximize_horizontally || maximize_vertically);
7 + if (window->display->grab_wireframe_active)
9 + window->display->grab_wireframe_active = FALSE;
10 + meta_window_end_wireframe(window->display->grab_window);
13 /* Only do something if the window isn't already maximized in the
16 @@ -2642,6 +2648,12 @@
17 unmaximize_vertically = directions & META_MAXIMIZE_VERTICAL;
18 g_assert (unmaximize_horizontally || unmaximize_vertically);
20 + if (window->display->grab_wireframe_active)
22 + window->display->grab_wireframe_active = FALSE;
23 + meta_window_end_wireframe(window->display->grab_window);
26 /* Only do something if the window isn't already maximized in the