mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
window: Clear the frame borders before calculating the unfullscreen rect
Going from fullscreen to unfullscreen involves a frame border size, so in order to properly interpret the saved rect size, we need to make sure that the frame borders are fully up to date.
This commit is contained in:
parent
6b82f61dba
commit
d74b0d5be8
@ -3241,6 +3241,8 @@ meta_window_unmake_fullscreen (MetaWindow *window)
|
|||||||
window->fullscreen = FALSE;
|
window->fullscreen = FALSE;
|
||||||
target_rect = window->saved_rect;
|
target_rect = window->saved_rect;
|
||||||
|
|
||||||
|
meta_window_frame_size_changed (window);
|
||||||
|
|
||||||
/* Window's size hints may have changed while maximized, making
|
/* Window's size hints may have changed while maximized, making
|
||||||
* saved_rect invalid. #329152
|
* saved_rect invalid. #329152
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user