Revert "refactor(window): we don't need to subscribe workspace events"
This reverts commit 648eecdd83
.
This commit is contained in:
parent
ee29a35aa5
commit
a37b4687ff
|
@ -9,7 +9,7 @@ Window::Window(const std::string& id, const Bar& bar, const Json::Value& config)
|
||||||
label_.set_hexpand(true);
|
label_.set_hexpand(true);
|
||||||
label_.set_ellipsize(Pango::EllipsizeMode::ELLIPSIZE_END);
|
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_event.connect(sigc::mem_fun(*this, &Window::onEvent));
|
||||||
ipc_.signal_cmd.connect(sigc::mem_fun(*this, &Window::onCmd));
|
ipc_.signal_cmd.connect(sigc::mem_fun(*this, &Window::onCmd));
|
||||||
// Get Initial focused window
|
// Get Initial focused window
|
||||||
|
|
Loading…
Reference in New Issue