Restore the wireframe rectangle co-ordinates to saved window co-ordinates.

2005-01-06  Leena Gunda  <leena.gunda@wipro.com>

        * src/window.c (meta_window_unmaximize): Restore the wireframe
        rectangle co-ordinates to saved window co-ordinates. Fixes
        bug #161236.
This commit is contained in:
Leena Gunda
2005-01-06 05:24:59 +00:00
committed by Leena Sitaram Gunda
parent 7c8faf3eda
commit 7549d1511a
2 changed files with 11 additions and 0 deletions

View File

@ -1991,6 +1991,11 @@ meta_window_unmaximize (MetaWindow *window)
window->saved_rect.width,
window->saved_rect.height);
if (window->display->grab_wireframe_active)
{
window->display->grab_wireframe_rect = window->saved_rect;
}
recalc_window_features (window);
set_net_wm_state (window);
}