diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2015-06-23 17:05:27 -0700 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-04-14 15:56:46 +0300 |
commit | 4b1a0d57cb432a1fbf7017cf370c57ce15c0e3f1 (patch) | |
tree | 05e93d8004e2ae65f684f008948ed12acfae2e3d | |
parent | 003e470fe504593cdc235e2f75baddccbdc4dbe0 (diff) | |
download | metacity-4b1a0d57cb432a1fbf7017cf370c57ce15c0e3f1.tar.gz |
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.
-rw-r--r-- | src/core/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c index f9dc5b63..61e68f9a 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -2908,6 +2908,8 @@ meta_window_unmake_fullscreen (MetaWindow *window) window->fullscreen = FALSE; target_rect = window->saved_rect; + meta_window_frame_size_changed (window); + /* Window's size hints may have changed while maximized, making * saved_rect invalid. #329152 */ |