| 1427 | } |
| 1428 | |
| 1429 | bool XWindow::mouseButtonScreenCoords(U32 button, S32 x, S32 y, bool pressed) { |
| 1430 | bool found = false; |
| 1431 | |
| 1432 | XServer::getServer()->iterateEventMask(id, pressed ? ButtonPressMask : ButtonReleaseMask, [&found, this, button, x, y, pressed](const DisplayDataPtr& data) { |
| 1433 | buttonNotify(data, button, x, y, pressed); |
| 1434 | found = true; |
| 1435 | }); |
| 1436 | return found; |
| 1437 | } |
| 1438 | |
| 1439 | void XWindow::keyScreenCoords(U32 key, S32 x, S32 y, bool pressed) { |
| 1440 |
no test coverage detected