summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2003-01-16 03:20:34 +0000
committerHavoc Pennington <hp@src.gnome.org>2003-01-16 03:20:34 +0000
commit25615f929efcbde3cd7ffdbab296369ce3264c22 (patch)
tree23a8f915e5da3ed3bd485a35d047db0afa9d0c94
parent667a05606661de3799cbe15a81e3c22f67aaf3a9 (diff)
downloadmetacity-25615f929efcbde3cd7ffdbab296369ce3264c22.tar.gz
metacity-25615f929efcbde3cd7ffdbab296369ce3264c22.tar.bz2
recalc_window_features() after making these changes, should fix #103317
2003-01-14 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_maximize, meta_window_unmaximize) (meta_window_make_fullscreen, meta_window_unmake_fullscreen): recalc_window_features() after making these changes, should fix #103317
-rw-r--r--ChangeLog7
-rw-r--r--src/window.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d160ca9..151e67d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-01-14 Havoc Pennington <hp@pobox.com>
+
+ * src/window.c (meta_window_maximize, meta_window_unmaximize)
+ (meta_window_make_fullscreen, meta_window_unmake_fullscreen):
+ recalc_window_features() after making these changes, should fix
+ #103317
+
2003-01-14 Rob Adams <robadams@ucla.edu>
* src/prefs.c: Increase the number of run_command bindings in
diff --git a/src/window.c b/src/window.c
index 779cf4f..cd46f6c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1801,6 +1801,7 @@ meta_window_maximize (MetaWindow *window)
*/
meta_window_queue_move_resize (window);
+ recalc_window_features (window);
set_net_wm_state (window);
}
}
@@ -1822,6 +1823,7 @@ meta_window_unmaximize (MetaWindow *window)
window->saved_rect.width,
window->saved_rect.height);
+ recalc_window_features (window);
set_net_wm_state (window);
}
}
@@ -1852,6 +1854,7 @@ meta_window_make_fullscreen (MetaWindow *window)
*/
meta_window_queue_move_resize (window);
+ recalc_window_features (window);
set_net_wm_state (window);
}
}
@@ -1875,6 +1878,7 @@ meta_window_unmake_fullscreen (MetaWindow *window)
window->saved_rect.width,
window->saved_rect.height);
+ recalc_window_features (window);
set_net_wm_state (window);
}
}