accepted more suggestions from sonarcloud

This commit is contained in:
Ignacio Rodriguez
2020-11-09 21:46:56 +07:00
parent 455c254462
commit d9e656db97
2 changed files with 4 additions and 9 deletions

View File

@ -848,12 +848,7 @@ void
XWindowsScreen::fakeMouseRelativeMove(SInt32 dx, SInt32 dy) const
{
// FIXME -- ignore xinerama for now
// if (false && m_xinerama && m_xtestIsXineramaUnaware) {
// XWarpPointer(m_display, None, m_root, 0, 0, 0, 0, x, y);
// }
// else {
XTestFakeRelativeMotionEvent(m_display, dx, dy, CurrentTime);
// }
XFlush(m_display);
}