summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeena Gunda <leena.gunda@wipro.com>2005-01-06 05:24:59 +0000
committerLeena Sitaram Gunda <lsgunda@src.gnome.org>2005-01-06 05:24:59 +0000
commit7549d1511ab76164ac7937660ae9e02e5b93f8dd (patch)
tree7e3200c7b97f02f52db28e1d2ec97950af2cf730
parent7c8faf3eda5e868ffb1a9549ba061ae44c757d3e (diff)
downloadmetacity-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--ChangeLog6
-rw-r--r--src/window.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5cb13b17..99ba886c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}