x11: Remove hide-titlebar-when-maximized support
It's a UI pattern that has been superseded by client-side decorations, apps that used to set the hint have generally moved on to headerbars. Given that and the limitation to server-side decorated X11 windows, GTK4 removed the client-side API for setting the hint, it's time to follow suite and retire the feature. https://gitlab.gnome.org/GNOME/mutter/merge_requests/221
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
ca7c5c1223
commit
6e1b14b26b
@ -110,7 +110,6 @@ static int drag_threshold;
|
||||
static gboolean resize_with_right_button = FALSE;
|
||||
static gboolean edge_tiling = FALSE;
|
||||
static gboolean force_fullscreen = TRUE;
|
||||
static gboolean ignore_request_hide_titlebar = FALSE;
|
||||
static gboolean auto_maximize = TRUE;
|
||||
static gboolean show_fallback_app_menu = FALSE;
|
||||
|
||||
@ -2085,15 +2084,3 @@ meta_prefs_set_force_fullscreen (gboolean whether)
|
||||
{
|
||||
force_fullscreen = whether;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_prefs_get_ignore_request_hide_titlebar (void)
|
||||
{
|
||||
return ignore_request_hide_titlebar;
|
||||
}
|
||||
|
||||
void
|
||||
meta_prefs_set_ignore_request_hide_titlebar (gboolean whether)
|
||||
{
|
||||
ignore_request_hide_titlebar = whether;
|
||||
}
|
||||
|
Reference in New Issue
Block a user