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