wayland: Don't assert when requesting another frame
authorBenjamin Otte <otte@redhat.com>
Tue, 9 May 2023 12:41:24 +0000 (14:41 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 9 May 2023 14:29:41 +0000 (16:29 +0200)
commit961a6c12ecca10d557e89fe6db409a97d98f789b
treeaade4ffe7d82bcc2ca2d8f499151e0b828f0fe5e
parentc227493c6577cd5080f86f7bc982ed7d8f190a8b
wayland: Don't assert when requesting another frame

When GDK_DEBUG=no-vsync is on, we might have more than one outstanding
frame. Don't assert when that hapens. Just request a frame callback for
the first and skip the others.
gdk/wayland/gdksurface-wayland.c