aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/EventManager.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-12-16 15:58:19 +0000
committerVaxry <[email protected]>2024-12-16 15:58:19 +0000
commita5234f26e4b7146ae7c2df25950f0177534cd643 (patch)
treebe319115cca2eb369791fad1822bdda0e0f358e9 /src/managers/EventManager.cpp
parentde3ad245dcbcd42c88e9afc48264bdb8f2356c15 (diff)
downloadHyprland-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.cpp2
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