mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
window: Also use hide-titlebar-when-maximized when tiled
Side-by-side tiling is conceptually very close to maximization ("half-maximized"), so it makes sense to also hide the titlebar in this state if requested by the application. https://bugzilla.gnome.org/show_bug.cgi?id=679290
This commit is contained in:
parent
78c966321a
commit
0a50488bef
@ -10642,7 +10642,8 @@ meta_window_get_frame_type (MetaWindow *window)
|
||||
return META_FRAME_TYPE_LAST;
|
||||
}
|
||||
else if ((window->border_only && base_type != META_FRAME_TYPE_ATTACHED) ||
|
||||
(window->hide_titlebar_when_maximized && META_WINDOW_MAXIMIZED (window)))
|
||||
(window->hide_titlebar_when_maximized && META_WINDOW_MAXIMIZED (window)) ||
|
||||
(window->hide_titlebar_when_maximized && META_WINDOW_TILED_SIDE_BY_SIDE (window)))
|
||||
{
|
||||
/* override base frame type */
|
||||
return META_FRAME_TYPE_BORDER;
|
||||
|
Loading…
Reference in New Issue
Block a user