From dc4c463ca36b26ceb25efda7fa25a7c7a906002d Mon Sep 17 00:00:00 2001 From: Severin von Wnuck Date: Wed, 24 May 2023 19:05:45 +0200 Subject: [PATCH] xwayland: Remove cursor definition This is now handled by krdb. BUG: 442839 BUG: 459468 --- src/xwayland/xwayland.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/xwayland/xwayland.cpp b/src/xwayland/xwayland.cpp index d8c1ef04b5..d7951c5f5e 100644 --- a/src/xwayland/xwayland.cpp +++ b/src/xwayland/xwayland.cpp @@ -12,7 +12,6 @@ #include -#include "cursor.h" #include "databridge.h" #include "dnd.h" #include "window.h" @@ -318,11 +317,6 @@ void Xwayland::handleXwaylandReady() this, &Xwayland::handleSelectionFailedToClaimOwnership); m_selectionOwner->claim(true); - Cursor *mouseCursor = Cursors::self()->mouse(); - if (mouseCursor) { - Xcb::defineCursor(kwinApp()->x11RootWindow(), mouseCursor->x11Cursor(Qt::ArrowCursor)); - } - m_dataBridge = std::make_unique(); connect(workspace(), &Workspace::outputOrderChanged, this, &Xwayland::updatePrimary);