mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
parent
92a98164c3
commit
f37a3ffa86
1 changed files with 3 additions and 0 deletions
|
|
@ -555,6 +555,9 @@ view_set_fullscreen(struct view *view, bool fullscreen,
|
||||||
/* Show fullscreen views above top-layer */
|
/* Show fullscreen views above top-layer */
|
||||||
struct output *output =
|
struct output *output =
|
||||||
output_from_wlr_output(view->server, wlr_output);
|
output_from_wlr_output(view->server, wlr_output);
|
||||||
|
if (!output) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
uint32_t top = ZWLR_LAYER_SHELL_V1_LAYER_TOP;
|
uint32_t top = ZWLR_LAYER_SHELL_V1_LAYER_TOP;
|
||||||
wlr_scene_node_set_enabled(&output->layer_tree[top]->node, !fullscreen);
|
wlr_scene_node_set_enabled(&output->layer_tree[top]->node, !fullscreen);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue