diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-10-17 10:39:09 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-10-17 16:59:06 +0200 |
commit | 175ccc25179f75f20bd618172ae8156e137c3615 (patch) | |
tree | d85eb2976c258fac64b10d6e0634f0b01742588a /rootston | |
parent | 8beeb88309d87474e1b4e8eadcf245a24f04b2d0 (diff) |
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
Diffstat (limited to 'rootston')
-rw-r--r-- | rootston/output.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c index 9d376f8e..bd38f3ab 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); |