void QWaylandDisplay::setCursor(QWaylandBuffer *buffer, int32_t x, int32_t y) { /* Qt doesn't tell us which input device we should set the cursor * for, so set it for all devices. */ for (int i = 0; i < mInputDevices.count(); i++) { QWaylandInputDevice *inputDevice = mInputDevices.at(i); inputDevice->attach(buffer, x, y); } }