diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-15 17:17:15 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-15 17:17:15 +0000 |
| commit | 3bd9ee0d32c08922ebe943c8319aa756ecc55cca (patch) | |
| tree | fa8411c8d171b74c496d61cdee3e54a01781455e /src/helpers/Monitor.cpp | |
| parent | 95a042691a34d6d04dc8a3cf5715165f34d1fa71 (diff) | |
minor xcursor and scale fixes
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index d322cee5..823066ac 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -96,8 +96,6 @@ void CMonitor::onConnect(bool noRule) { } m_bEnabled = true; - - wlr_xcursor_manager_load(g_pCompositor->m_sWLRXCursorMgr, monitorRule.scale); // create it in the arr vecPosition = monitorRule.offset; @@ -110,6 +108,8 @@ void CMonitor::onConnect(bool noRule) { if (!noRule) g_pHyprRenderer->applyMonitorRule(this, &monitorRule, true); + wlr_xcursor_manager_load(g_pCompositor->m_sWLRXCursorMgr, scale); + Debug::log(LOG, "Added new monitor with name %s at %i,%i with size %ix%i, pointer %x", output->name, (int)vecPosition.x, (int)vecPosition.y, (int)vecPixelSize.x, (int)vecPixelSize.y, output); damage = wlr_output_damage_create(output); |
