do not save client root coords while window is maximized

svn path=/trunk/; revision=3374
This commit is contained in:
Peter Bloomfield 2007-11-06 13:23:39 +00:00
parent 848ccb3249
commit d0523744b7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-11-06 Peter Bloomfield <pbloomfield@bellsouth.net>
* src/window.c (meta_window_move_resize_internal): do not save
client root coords while window is maximized.
2207-10-30 iain Holmes <iain@gnome.org>
* src/main.c (meta_parse_options): Add --sync option

View File

@ -3481,7 +3481,7 @@ meta_window_move_resize_internal (MetaWindow *window,
* we want user_rect to reflect user position/size changes OR the initial
* placement of the window.
*/
if (is_user_action || !window->placed)
if ((is_user_action || !window->placed) && !META_WINDOW_MAXIMIZED (window))
meta_window_get_client_root_coords (window, &window->user_rect);
if (need_move_frame || need_resize_frame ||