mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
output: Make the session lock layer the topmost
Make sure that only the session lock layer is visible to a user. Fixes the issue with mako notifications being rendered above the swaylock window.
This commit is contained in:
parent
86cb62ed12
commit
957dd43af2
1 changed files with 2 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ new_output_notify(struct wl_listener *listener, void *data)
|
||||||
/*
|
/*
|
||||||
* Set the z-positions to achieve the following order (from top to
|
* Set the z-positions to achieve the following order (from top to
|
||||||
* bottom):
|
* bottom):
|
||||||
|
* - session lock layer
|
||||||
* - layer-shell popups
|
* - layer-shell popups
|
||||||
* - overlay layer
|
* - overlay layer
|
||||||
* - top layer
|
* - top layer
|
||||||
|
|
@ -203,6 +204,7 @@ new_output_notify(struct wl_listener *listener, void *data)
|
||||||
wlr_scene_node_raise_to_top(&output->layer_tree[2]->node);
|
wlr_scene_node_raise_to_top(&output->layer_tree[2]->node);
|
||||||
wlr_scene_node_raise_to_top(&output->layer_tree[3]->node);
|
wlr_scene_node_raise_to_top(&output->layer_tree[3]->node);
|
||||||
wlr_scene_node_raise_to_top(&output->layer_popup_tree->node);
|
wlr_scene_node_raise_to_top(&output->layer_popup_tree->node);
|
||||||
|
wlr_scene_node_raise_to_top(&output->session_lock_tree->node);
|
||||||
|
|
||||||
if (rc.adaptive_sync) {
|
if (rc.adaptive_sync) {
|
||||||
wlr_log(WLR_INFO, "enable adaptive sync on %s", wlr_output->name);
|
wlr_log(WLR_INFO, "enable adaptive sync on %s", wlr_output->name);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue