MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / mouseButtonScreenCoords

Method mouseButtonScreenCoords

source/x11/xwindow.cpp:1429–1437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1427}
1428
1429bool 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
1439void XWindow::keyScreenCoords(U32 key, S32 x, S32 y, bool pressed) {
1440

Callers 1

mouseButtonMethod · 0.80

Calls 1

iterateEventMaskMethod · 0.80

Tested by

no test coverage detected