From 76e4fd8a0791ec1511b56972c9b43beb94743026 Mon Sep 17 00:00:00 2001 From: Thomas James Alexander Thurman Date: Mon, 31 Jul 2006 19:56:56 +0000 Subject: [PATCH] Make it so maximized windows do not have rounded corners. #336850. --- ChangeLog | 5 +++++ src/window.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 76953f31a..d4c989610 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-31 Björn Lindqvist + + * src/window.c: Make it so maximized windows do not have rounded + corners. #336850. + 2006-07-30 Jens Granseuer * src/tabpopup.c: Fix another C89 vs. C99 issue. #347621. diff --git a/src/window.c b/src/window.c index 71f1d3c1b..b6e2a4f73 100644 --- a/src/window.c +++ b/src/window.c @@ -2202,6 +2202,14 @@ meta_window_maximize_internal (MetaWindow *window, window->maximized_horizontally || maximize_horizontally; window->maximized_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); set_net_wm_state (window);