mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Make it so maximized windows do not have rounded corners. #336850.
This commit is contained in:
parent
3cca3381ba
commit
76e4fd8a07
@ -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.
|
||||||
|
@ -2202,6 +2202,14 @@ meta_window_maximize_internal (MetaWindow *window,
|
|||||||
window->maximized_horizontally || maximize_horizontally;
|
window->maximized_horizontally || maximize_horizontally;
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user