mirror of
https://github.com/Alexays/Waybar.git
synced 2025-10-29 19:46:32 +00:00
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…
x
Reference in New Issue
Block a user