From 175ccc25179f75f20bd618172ae8156e137c3615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Wed, 17 Oct 2018 10:39:09 +0200 Subject: [PATCH] rootston: Don't let the wlr_output handle the fullscreen view in case of layer-shell overlays Otherwise the overlays will no tbe drawn. Closes: #1300 --- rootston/output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootston/output.c b/rootston/output.c index 9d376f8e1..bd38f3ab9 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -459,7 +459,8 @@ static void render_output(struct roots_output *output) { output_box->y; view_move(view, view_x, view_y); - if (has_standalone_surface(view)) { + if (has_standalone_surface(view) && + wl_list_empty(&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY])) { wlr_output_set_fullscreen_surface(wlr_output, view->wlr_surface); } else { wlr_output_set_fullscreen_surface(wlr_output, NULL);