hyprland/workspaces: fix crash
This commit is contained in:
@ -578,7 +578,7 @@ void Workspaces::onWindowTitleEvent(std::string const &payload) {
|
|||||||
return client["address"].asString() == jsonWindowAddress;
|
return client["address"].asString() == jsonWindowAddress;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!client->empty()) {
|
if (client != clientsData.end() && !client->empty()) {
|
||||||
(*inserter)({*client});
|
(*inserter)({*client});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user