From 3c96823fc58be101cc412297ed302ee739c7774b Mon Sep 17 00:00:00 2001 From: nnyyxxxx Date: Sat, 15 Feb 2025 11:27:21 -0500 Subject: [PATCH] smol cleanup --- src/protocols/core/DataDevice.cpp | 2 +- src/xwayland/Dnd.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/protocols/core/DataDevice.cpp b/src/protocols/core/DataDevice.cpp index 7f4e414822c..e26e47b09a4 100644 --- a/src/protocols/core/DataDevice.cpp +++ b/src/protocols/core/DataDevice.cpp @@ -758,7 +758,7 @@ bool CWLDataDeviceProtocol::wasDragSuccessful() { } #ifndef NO_XWAYLAND - if (g_pXWayland->pWM && dnd.focusedDevice->getX11()) + if (dnd.focusedDevice->getX11()) return true; #endif diff --git a/src/xwayland/Dnd.cpp b/src/xwayland/Dnd.cpp index c55ffb45c81..84201e39e0c 100644 --- a/src/xwayland/Dnd.cpp +++ b/src/xwayland/Dnd.cpp @@ -159,9 +159,6 @@ void CX11DataDevice::sendDrop() { source->sendDndDropPerformed(); cleanupState(); - - g_pInputManager->simulateMouseMovement(); - g_pSeatManager->resendEnterEvents(); #endif }