mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
make sure everything is removed on output destroy
This commit is contained in:
parent
0c6d51028a
commit
0dad842be1
1 changed files with 3 additions and 0 deletions
|
|
@ -90,5 +90,8 @@ fn handleDestroy(
|
||||||
output.request_state.link.remove();
|
output.request_state.link.remove();
|
||||||
output.destroy.link.remove();
|
output.destroy.link.remove();
|
||||||
|
|
||||||
|
server.root.output_layout.remove(output.wlr_output);
|
||||||
|
output.scene_output.destroy();
|
||||||
|
|
||||||
gpa.destroy(output);
|
gpa.destroy(output);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue