summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-07-05 23:05:03 +0200
committerVaxry <vaxry@vaxry.net>2024-07-05 23:05:09 +0200
commitcc98594c3aed0b542e03818371a4636f549f80e1 (patch)
tree67740aecd3fb16ff435844d19537a7258930ddb7 /src/Compositor.cpp
parent0502c3f62b1a562e7649ac72bd208b4a89d4f3f4 (diff)
pointer: update geometry after unplug events
fixes #6700 fixes #6740
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 2ed1a951..f0a2887a 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -413,7 +413,7 @@ void CCompositor::initManagers(eManagersInitStage stage) {
switch (stage) {
case STAGE_PRIORITY: {
Debug::log(LOG, "Creating the EventLoopManager!");
- g_pEventLoopManager = std::make_unique<CEventLoopManager>();
+ g_pEventLoopManager = std::make_unique<CEventLoopManager>(m_sWLDisplay, m_sWLEventLoop);
Debug::log(LOG, "Creating the HookSystem!");
g_pHookSystem = std::make_unique<CHookSystemManager>();
@@ -604,7 +604,7 @@ void CCompositor::startCompositor() {
// This blocks until we are done.
Debug::log(LOG, "Hyprland is ready, running the event loop!");
- g_pEventLoopManager->enterLoop(m_sWLDisplay, m_sWLEventLoop);
+ g_pEventLoopManager->enterLoop();
}
CMonitor* CCompositor::getMonitorFromID(const int& id) {