diff --git a/src/panel/panel.cpp b/src/panel/panel.cpp index 0a7fccbf..d883e7f6 100644 --- a/src/panel/panel.cpp +++ b/src/panel/panel.cpp @@ -371,6 +371,14 @@ class WayfirePanel::impl reload_widgets((std::string)left_widgets_opt, left_widgets, left_box); reload_widgets((std::string)right_widgets_opt, right_widgets, right_box); reload_widgets((std::string)center_widgets_opt, center_widgets, center_box); + + if (center_box.get_children().empty()) + { + content_box.unset_center_widget(); + } else + { + content_box.set_center_widget(center_box); + } } std::shared_ptr get_ipc_server_instance()