refactor: rm direct dp.emit() call in constructor.

This commit is contained in:
yubo
2026-07-18 21:14:08 +08:00
parent 7f732f0553
commit 5b8c98729f
28 changed files with 3 additions and 41 deletions
-3
View File
@@ -44,9 +44,6 @@ Workspaces::Workspaces(const std::string& id, const Bar& bar, const Json::Value&
ipc->register_handler("window-rules/list-outputs", handler);
ipc->register_handler("window-rules/list-wsets", handler);
ipc->register_handler("window-rules/get-focused-output", handler);
// initial render
dp.emit();
}
Workspaces::~Workspaces() { ipc->unregister_handler(handler); }