| 457 | } |
| 458 | |
| 459 | void XWindowsScreen::getCursorPos(int32_t &x, int32_t &y) const |
| 460 | { |
| 461 | Window root; |
| 462 | Window window; |
| 463 | int mx; |
| 464 | int my; |
| 465 | int xWindow; |
| 466 | int yWindow; |
| 467 | unsigned int mask; |
| 468 | if (XQueryPointer(m_display, m_root, &root, &window, &mx, &my, &xWindow, &yWindow, &mask)) { |
| 469 | x = mx; |
| 470 | y = my; |
| 471 | } else { |
| 472 | x = m_xCenter; |
| 473 | y = m_yCenter; |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | void XWindowsScreen::reconfigure(uint32_t activeSides) |
| 478 | { |
nothing calls this directly
no outgoing calls
no test coverage detected