cursor: Guard against 0 serial

On error the wlr functions return 0. We don't want to use that as last serial.

Signed-off-by: Guido Günther agx@sigxcpu.org

Merge request reports

Loading