diff --git a/plugins/platforms/fbdev/fb_backend.cpp b/plugins/platforms/fbdev/fb_backend.cpp index 95b0925e6c..fc7ed42c78 100644 --- a/plugins/platforms/fbdev/fb_backend.cpp +++ b/plugins/platforms/fbdev/fb_backend.cpp @@ -38,7 +38,6 @@ namespace KWin FramebufferBackend::FramebufferBackend(QObject *parent) : Platform(parent) { - setSoftWareCursor(true); } FramebufferBackend::~FramebufferBackend() @@ -61,6 +60,7 @@ QPainterBackend *FramebufferBackend::createQPainterBackend() void FramebufferBackend::init() { + setSoftWareCursor(true); LogindIntegration *logind = LogindIntegration::self(); auto takeControl = [logind, this]() { if (logind->hasSessionControl()) { diff --git a/plugins/platforms/virtual/virtual_backend.cpp b/plugins/platforms/virtual/virtual_backend.cpp index b231fbb5e5..396b56cd54 100644 --- a/plugins/platforms/virtual/virtual_backend.cpp +++ b/plugins/platforms/virtual/virtual_backend.cpp @@ -42,7 +42,6 @@ VirtualBackend::VirtualBackend(QObject *parent) qDebug() << "Screenshots saved to: " << m_screenshotDir->path(); } } - setSoftWareCursor(true); setSupportsPointerWarping(true); } @@ -50,6 +49,7 @@ VirtualBackend::~VirtualBackend() = default; void VirtualBackend::init() { + setSoftWareCursor(true); m_size = initialWindowSize(); setReady(true); waylandServer()->seat()->setHasPointer(true);