mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
refactor: call parent update
This commit is contained in:
@@ -51,6 +51,8 @@ auto Mode::update() -> void {
|
||||
}
|
||||
event_box_.show();
|
||||
}
|
||||
// Call parent update
|
||||
ALabel::update();
|
||||
}
|
||||
|
||||
} // namespace waybar::modules::sway
|
||||
|
@@ -64,6 +64,8 @@ auto Window::update() -> void {
|
||||
if (tooltipEnabled()) {
|
||||
label_.set_tooltip_text(window_);
|
||||
}
|
||||
// Call parent update
|
||||
ALabel::update();
|
||||
}
|
||||
|
||||
std::tuple<std::size_t, int, std::string, std::string> Window::getFocusedNode(
|
||||
|
@@ -176,6 +176,8 @@ auto Workspaces::update() -> void {
|
||||
}
|
||||
onButtonReady(*it, button);
|
||||
}
|
||||
// Call parent update
|
||||
AModule::update();
|
||||
}
|
||||
|
||||
Gtk::Button &Workspaces::addButton(const Json::Value &node) {
|
||||
|
Reference in New Issue
Block a user