diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-07 23:54:57 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-09-07 23:54:57 -0500 |
commit | d1496a2a9b4a336ea08f0ed3eae7fa3f155989b3 (patch) | |
tree | 00e6263534e7c4e2349fb435a55afb132057cef2 | |
parent | 80084839a9d9a3aaed323a267bbd2f061f37c8f7 (diff) |
fix condition that always evaluate to false in commitlayersurfacenotify()
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -792,7 +792,7 @@ commitlayersurfacenotify(struct wl_listener *listener, void *data) if (!wlr_output || !(layersurface->mon = wlr_output->data)) return; - if (layers[wlr_layer_surface->current.layer] != layersurface->scene) { + if (layers[wlr_layer_surface->current.layer] != layersurface->scene->parent) { wlr_scene_node_reparent(layersurface->scene, layers[wlr_layer_surface->current.layer]); wl_list_remove(&layersurface->link); |