[metacity/wip/test-3-18: 2/8] window: clear the frame borders before calculating the unfullscreen rect
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [metacity/wip/test-3-18: 2/8] window: clear the frame borders before calculating the unfullscreen rect
- Date: Thu, 14 Apr 2016 17:33:12 +0000 (UTC)
commit fdab6a7129011152baffae0d3164013c5ea97375
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jun 23 17:05:27 2015 -0700
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.
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 20d75ab..edc930d 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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]