mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Only unmaximise window before freeing if the window is actually maximised.
2006-03-06 Ryan Lortie <desrt@desrt.ca> * src/window.c (meta_window_free): Only unmaximise window before freeing if the window is actually maximised. #333563.
This commit is contained in:
parent
8c2a5dbc19
commit
3c6b291641
@ -1,3 +1,8 @@
|
||||
2006-03-06 Ryan Lortie <desrt@desrt.ca>
|
||||
|
||||
* src/window.c (meta_window_free): Only unmaximise window before
|
||||
freeing if the window is actually maximised. #333563.
|
||||
|
||||
Fri Mar 3 15:31:04 2006 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* src/c-screen.c (meta_screen_info_new): Update for libcm API
|
||||
|
@ -979,7 +979,8 @@ meta_window_free (MetaWindow *window)
|
||||
if (window->display->focus_window == window)
|
||||
window->display->focus_window = NULL;
|
||||
|
||||
unmaximize_window_before_freeing (window);
|
||||
if (window->maximized_horizontally || window->maximized_vertically)
|
||||
unmaximize_window_before_freeing (window);
|
||||
|
||||
meta_window_unqueue_calc_showing (window);
|
||||
meta_window_unqueue_move_resize (window);
|
||||
|
Loading…
Reference in New Issue
Block a user