mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
Fix wlr_scene_node_lower_to_bottom
Before this commit, it would keep the node at the top or make it second- topmost.
This commit is contained in:
parent
efeb8346cf
commit
ca1af8119c
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ void wlr_scene_node_raise_to_top(struct wlr_scene_node *node) {
|
|||
|
||||
void wlr_scene_node_lower_to_bottom(struct wlr_scene_node *node) {
|
||||
struct wlr_scene_node *current_bottom = wl_container_of(
|
||||
node->parent->state.children.prev, current_bottom, state.link);
|
||||
node->parent->state.children.next, current_bottom, state.link);
|
||||
if (node == current_bottom) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue