core: use new typed signals from hu (#10853)
This commit is contained in:
parent
2f34ef141b
commit
78e9eddfb6
85 changed files with 667 additions and 865 deletions
|
|
@ -86,7 +86,7 @@ void CWLOutputResource::updateState() {
|
|||
CWLOutputProtocol::CWLOutputProtocol(const wl_interface* iface, const int& ver, const std::string& name, PHLMONITOR pMonitor) :
|
||||
IWaylandProtocol(iface, ver, name), m_monitor(pMonitor), m_name(pMonitor->m_name) {
|
||||
|
||||
m_listeners.modeChanged = m_monitor->m_events.modeChanged.registerListener([this](std::any d) {
|
||||
m_listeners.modeChanged = m_monitor->m_events.modeChanged.listen([this] {
|
||||
for (auto const& o : m_outputs) {
|
||||
o->updateState();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue