Remove listener when window is destroyed (#3215)

This commit is contained in:
Eldar Yusupov
2024-05-06 11:51:14 +03:00
committed by GitHub
parent e7779b5458
commit df1a9c5509
2 changed files with 8 additions and 2 deletions

View File

@ -14,7 +14,7 @@ namespace waybar::modules::dwl {
class Window : public AAppIconLabel, public sigc::trackable {
public:
Window(const std::string &, const waybar::Bar &, const Json::Value &);
virtual ~Window() = default;
~Window();
void handle_layout(const uint32_t layout);
void handle_title(const char *title);