Skip to content

Commit

Permalink
smol cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nnyyxxxx committed Feb 15, 2025
1 parent 4bcb518 commit 3c96823
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/protocols/core/DataDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ bool CWLDataDeviceProtocol::wasDragSuccessful() {
}

#ifndef NO_XWAYLAND
if (g_pXWayland->pWM && dnd.focusedDevice->getX11())
if (dnd.focusedDevice->getX11())
return true;
#endif

Expand Down
3 changes: 0 additions & 3 deletions src/xwayland/Dnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@ void CX11DataDevice::sendDrop() {
source->sendDndDropPerformed();

cleanupState();

g_pInputManager->simulateMouseMovement();
g_pSeatManager->resendEnterEvents();
#endif
}

Expand Down

0 comments on commit 3c96823

Please sign in to comment.