mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 00:39:30 +00: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:
@ -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
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user