diff options
author | Leena Gunda <leena.gunda@wipro.com> | 2005-01-06 05:24:59 +0000 |
---|---|---|
committer | Leena Sitaram Gunda <lsgunda@src.gnome.org> | 2005-01-06 05:24:59 +0000 |
commit | 7549d1511ab76164ac7937660ae9e02e5b93f8dd (patch) | |
tree | 7e3200c7b97f02f52db28e1d2ec97950af2cf730 | |
parent | 7c8faf3eda5e868ffb1a9549ba061ae44c757d3e (diff) | |
download | metacity-7549d1511ab76164ac7937660ae9e02e5b93f8dd.tar.gz |
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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window.c | 5 |
2 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,9 @@ +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. + 2005-01-03 Thomas Fitzsimmons <fitzsim@redhat.com> * src/Makefile.am (install-data-local): Install schema data from diff --git a/src/window.c b/src/window.c index 3a06eaf5..aba733f1 100644 --- a/src/window.c +++ b/src/window.c @@ -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); } |