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
-2
View File
@@ -82,8 +82,6 @@ Workspaces::Workspaces(const std::string& id, const Bar& bar, const Json::Value&
window.add_events(Gdk::SCROLL_MASK | Gdk::SMOOTH_SCROLL_MASK);
window.signal_scroll_event().connect(sigc::mem_fun(*this, &Workspaces::handleScroll));
}
dp.emit();
}
Workspaces::~Workspaces() { gIPC->unregisterForIPC(this); }