| 759 | } |
| 760 | |
| 761 | void XWindowsScreen::fakeMouseButton(ButtonID button, bool press) |
| 762 | { |
| 763 | const unsigned int xButton = mapButtonToX(button); |
| 764 | if (xButton > 0 && xButton < 11) { |
| 765 | XTestFakeButtonEvent(m_display, xButton, press ? True : False, CurrentTime); |
| 766 | XFlush(m_display); |
| 767 | } |
| 768 | } |
| 769 | |
| 770 | void XWindowsScreen::fakeMouseMove(int32_t x, int32_t y) |
| 771 | { |
nothing calls this directly
no outgoing calls
no test coverage detected