mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
do not save client root coords while window is maximized
svn path=/trunk/; revision=3374
This commit is contained in:
parent
848ccb3249
commit
d0523744b7
@ -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
|
||||
|
@ -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 ||
|
||||
|
Loading…
Reference in New Issue
Block a user