mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 10:29:49 +01:00
Merge pull request #1316 from agx/fullscreen-vs-layershell
rootston: Don't let the wlr_output handle the fullscreen view in case…
This commit is contained in:
commit
5893b197ba
1 changed files with 2 additions and 1 deletions
|
@ -459,7 +459,8 @@ static void render_output(struct roots_output *output) {
|
||||||
output_box->y;
|
output_box->y;
|
||||||
view_move(view, view_x, view_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);
|
wlr_output_set_fullscreen_surface(wlr_output, view->wlr_surface);
|
||||||
} else {
|
} else {
|
||||||
wlr_output_set_fullscreen_surface(wlr_output, NULL);
|
wlr_output_set_fullscreen_surface(wlr_output, NULL);
|
||||||
|
|
Loading…
Reference in a new issue