Revert "refactor(window): we don't need to subscribe workspace events"

This reverts commit 648eecdd83.
This commit is contained in:
Alex 2019-06-11 14:01:55 +02:00
parent ee29a35aa5
commit a37b4687ff
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Window::Window(const std::string& id, const Bar& bar, const Json::Value& config)
label_.set_hexpand(true);
label_.set_ellipsize(Pango::EllipsizeMode::ELLIPSIZE_END);
}
ipc_.subscribe(R"(["window"])");
ipc_.subscribe(R"(["window","workspace"])");
ipc_.signal_event.connect(sigc::mem_fun(*this, &Window::onEvent));
ipc_.signal_cmd.connect(sigc::mem_fun(*this, &Window::onCmd));
// Get Initial focused window