gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / metacity / patches / metacity-05-wireframe.patch
blobce9feea99658c5a8ecb16d2ce84085e9b1a1a57c
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
3 @@ -2561,6 +2561,12 @@
4 maximize_vertically = directions & META_MAXIMIZE_VERTICAL;
5 g_assert (maximize_horizontally || maximize_vertically);
7 + if (window->display->grab_wireframe_active)
8 + {
9 + window->display->grab_wireframe_active = FALSE;
10 + meta_window_end_wireframe(window->display->grab_window);
11 + }
13 /* Only do something if the window isn't already maximized in the
14 * given direction(s).
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)
21 + {
22 + window->display->grab_wireframe_active = FALSE;
23 + meta_window_end_wireframe(window->display->grab_window);
24 + }
26 /* Only do something if the window isn't already maximized in the
27 * given direction(s).