MCPcopy Create free account
hub / github.com/deskflow/deskflow / fakeMouseMove

Method fakeMouseMove

src/lib/platform/XWindowsScreen.cpp:770–778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770void XWindowsScreen::fakeMouseMove(int32_t x, int32_t y)
771{
772 if (m_xinerama && m_xtestIsXineramaUnaware) {
773 XWarpPointer(m_display, None, m_root, 0, 0, 0, 0, x, y);
774 } else {
775 XTestFakeMotionEvent(m_display, DefaultScreen(m_display), x, y, CurrentTime);
776 }
777 XFlush(m_display);
778}
779
780void XWindowsScreen::fakeMouseRelativeMove(int32_t dx, int32_t dy) const
781{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected