summaryrefslogtreecommitdiff
path: root/src/x11/window-x11.c
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2018-09-08 13:26:13 +0200
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2018-11-26 13:12:18 +0000
commit6e1b14b26be8455abb3912e36d51c5bef25a12e5 (patch)
treea51eb81e9bda0dd46b9ce7b2d2e087f56e323170 /src/x11/window-x11.c
parentca7c5c1223ba6d264cd6461a7972e7e57c00ff79 (diff)
downloadmutter-6e1b14b26be8455abb3912e36d51c5bef25a12e5.tar.gz
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
Diffstat (limited to 'src/x11/window-x11.c')
-rw-r--r--src/x11/window-x11.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index 792528825..eb907c96e 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -2205,7 +2205,6 @@ meta_window_move_resize_request (MetaWindow *window,
* the monitor.
*/
if (meta_prefs_get_force_fullscreen() &&
- !window->hide_titlebar_when_maximized &&
(window->decorated || !meta_window_is_client_decorated (window)) &&
meta_rectangle_equal (&rect, &monitor_rect) &&
window->has_fullscreen_func &&