summaryrefslogtreecommitdiff
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-29 17:51:07 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-09-29 17:51:07 +0100
commita44ab7748f07ae87f944513d01685a7456c44ee0 (patch)
tree8e77df734dc79c1b74abee3faf8cd5c4a18c8d4c /src/Compositor.cpp
parentab11bd20851c5bb99f0e164ee5b0ebe3888628c0 (diff)
renderer: optimize render pipeline when there is a solitary client
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 650be373..05875f62 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -514,7 +514,7 @@ void CCompositor::startCompositor() {
throwError("The backend could not start!");
}
- wlr_cursor_set_xcursor(m_sWLRCursor, m_sWLRXCursorMgr, "left_ptr");
+ g_pHyprRenderer->setCursorFromName("left_ptr");
#ifdef USES_SYSTEMD
if (sd_booted() > 0)