deine mum
This commit is contained in:
@@ -258,10 +258,10 @@ void HyprlandService::onUrgentEvent(std::string windowAddress) {
|
||||
auto it = this->workspaces.find(workspaceId);
|
||||
if (it != this->workspaces.end() && it->second) {
|
||||
|
||||
if (std::find(it->second->urgentWindows.begin(),
|
||||
it->second->urgentWindows.end(), windowAddress) ==
|
||||
it->second->urgentWindows.end()) {
|
||||
it->second->urgentWindows.push_back(windowAddress);
|
||||
WorkspaceState *ws = it->second;
|
||||
auto uit = std::find(ws->urgentWindows.begin(), ws->urgentWindows.end(), windowAddress);
|
||||
if (uit == ws->urgentWindows.end()) {
|
||||
ws->urgentWindows.push_back(windowAddress);
|
||||
workspaceStateChanged.emit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user