diff options
author | Vaxry <[email protected]> | 2024-12-16 15:58:19 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-12-16 15:58:19 +0000 |
commit | a5234f26e4b7146ae7c2df25950f0177534cd643 (patch) | |
tree | be319115cca2eb369791fad1822bdda0e0f358e9 /src/managers/EventManager.cpp | |
parent | de3ad245dcbcd42c88e9afc48264bdb8f2356c15 (diff) | |
download | Hyprland-a5234f26e4b7146ae7c2df25950f0177534cd643.tar.gz Hyprland-a5234f26e4b7146ae7c2df25950f0177534cd643.zip |
core: drop using deques in favor of vectors
No point in most of these.
Diffstat (limited to 'src/managers/EventManager.cpp')
-rw-r--r-- | src/managers/EventManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/EventManager.cpp b/src/managers/EventManager.cpp index 786468f2..fc55b472 100644 --- a/src/managers/EventManager.cpp +++ b/src/managers/EventManager.cpp @@ -116,7 +116,7 @@ int CEventManager::onClientEvent(int fd, uint32_t mask) { if (write(CLIENTIT->fd, event->c_str(), event->length()) < 0) break; - CLIENTIT->events.pop_front(); + CLIENTIT->events.erase(CLIENTIT->events.begin()); } // stop polling when we sent all events |