xwayland: Remove cursor definition

This is now handled by krdb.

BUG: 442839
BUG: 459468
This commit is contained in:
Severin von Wnuck 2023-05-24 19:05:45 +02:00 committed by Vlad Zahorodnii
parent debe76733c
commit dc4c463ca3

View file

@ -12,7 +12,6 @@
#include <config-kwin.h>
#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<DataBridge>();
connect(workspace(), &Workspace::outputOrderChanged, this, &Xwayland::updatePrimary);