mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat(bar): clean exit
This commit is contained in:
parent
d280f5e8bd
commit
c128562284
@ -82,5 +82,11 @@ int waybar::Client::main(int /*argc*/, char* /*argv*/[])
|
|||||||
{
|
{
|
||||||
bindInterfaces();
|
bindInterfaces();
|
||||||
gtk_main.run();
|
gtk_main.run();
|
||||||
|
bars.clear();
|
||||||
|
zxdg_output_manager_v1_destroy(xdg_output_manager);
|
||||||
|
zwlr_layer_shell_v1_destroy(layer_shell);
|
||||||
|
wl_registry_destroy(registry);
|
||||||
|
wl_seat_destroy(seat);
|
||||||
|
wl_display_disconnect(wl_display);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user