GNOME Bugzilla – Bug 720417
meta_window_move_resize_internal: handle border size changes
Last modified: 2013-12-18 14:27:10 UTC
Initial placement during meta_window_constrain() can result in changes to the borders, so we need to recompute our border sizes after constraining. This fixes incorrect window borders on initially maximized windows.
Created attachment 264168 [details] [review] meta_window_move_resize_internal: handle border size changes
Yosef - can you check if this fixes the residual problems you were seeing?
*** Bug 720469 has been marked as a duplicate of this bug. ***
Yes, the patch realy fixes the residual problems. Now I see other something strange: when I switch between maximize to unmaximize, the size of the close button change. But I not thing it realte to this bug.
Review of attachment 264168 [details] [review]: If it fixes Yosef's problem, looks good. ::: src/core/window.c @@ +4988,3 @@ + */ + meta_frame_calc_borders (window->frame, + &borders); This can be on one line.
Attachment 264168 [details] pushed as b7e62d3 - meta_window_move_resize_internal: handle border size changes