diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c index 7f152ff42..93511e919 100644 --- a/src/x11/window-x11.c +++ b/src/x11/window-x11.c @@ -4279,14 +4279,6 @@ meta_window_x11_get_client_rect (MetaWindowX11 *window_x11) return priv->client_rect; } -static gboolean -has_requested_bypass_compositor (MetaWindowX11 *window_x11) -{ - MetaWindowX11Private *priv = meta_window_x11_get_instance_private (window_x11); - - return priv->bypass_compositor == META_BYPASS_COMPOSITOR_HINT_ON; -} - static gboolean has_requested_dont_bypass_compositor (MetaWindowX11 *window_x11) { @@ -4318,9 +4310,6 @@ meta_window_x11_can_unredirect (MetaWindowX11 *window_x11) if (meta_window_is_screen_sized (window)) return TRUE; - if (has_requested_bypass_compositor (window_x11)) - return TRUE; - if (window->override_redirect) { MetaRectangle window_rect;