get Next Serial into new approach
Hello,
i migrate Pointer interface and this code is problematic :
d->destroyConnection = connect(d->focusedSurface, &SurfaceInterface::aboutToBeDestroyed, this,
[this] {
d->sendLeave(d->focusedChildSurface.data(), d->global->display()->nextSerial());
d->sendFrame();
d->focusedSurface = nullptr;
d->focusedChildSurface.clear();
}
);
how i can have this part "d->global->display()->nextSerial()" into the new approach ?