Make it so maximized windows do not have rounded corners. #336850.

This commit is contained in:
Thomas James Alexander Thurman 2006-07-31 19:56:56 +00:00
parent 3cca3381ba
commit 76e4fd8a07
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-07-31 Björn Lindqvist <bjourne@gmail.com>
* src/window.c: Make it so maximized windows do not have rounded
corners. #336850.
2006-07-30 Jens Granseuer <jensgr@gmx.net> 2006-07-30 Jens Granseuer <jensgr@gmx.net>
* src/tabpopup.c: Fix another C89 vs. C99 issue. #347621. * src/tabpopup.c: Fix another C89 vs. C99 issue. #347621.

View File

@ -2203,6 +2203,14 @@ meta_window_maximize_internal (MetaWindow *window,
window->maximized_vertically = window->maximized_vertically =
window->maximized_vertically || maximize_vertically; window->maximized_vertically || maximize_vertically;
/* Fix for #336850: If the frame shape isn't reapplied, it is
* possible that the frame will retains its rounded corners. That
* happens if the clients size when maximized equals the unmaximized
* size.
*/
if (window->frame)
window->frame->need_reapply_frame_shape = TRUE;
recalc_window_features (window); recalc_window_features (window);
set_net_wm_state (window); set_net_wm_state (window);
} }