mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
bdddc3857c
It's mandatory to reply to a xdg_surface.configure with a xdg_surface.ack_configure, as well as a wl_surface.commit to have the ack_configure to have any effect. We failed to do that if the new configuration didn't cause any actual anything to change, meaning we'd just ack_configure, but potentially never commit. Fix this by requesting a 'after-paint' frame clock phase, while setting the pending commit state to true. If we were already to paint, the new requested phase would happen anyway, but to avoid double wl_surface.commit when also using eglSwapBuffers*(), also avoid performing the commit if we know the swap buffers will happen. |
||
---|---|---|
.. | ||
protocol | ||
gdkapplaunchcontext-wayland.c | ||
gdkcursor-wayland.c | ||
gdkdevice-wayland.c | ||
gdkdisplay-wayland.c | ||
gdkdisplay-wayland.h | ||
gdkdnd-wayland.c | ||
gdkeventsource.c | ||
gdkglcontext-wayland.c | ||
gdkglcontext-wayland.h | ||
gdkkeys-wayland.c | ||
gdkmonitor-wayland.c | ||
gdkmonitor-wayland.h | ||
gdkprivate-wayland.h | ||
gdkscreen-wayland.c | ||
gdkseat-wayland.h | ||
gdkselection-wayland.c | ||
gdkwayland.h | ||
gdkwaylanddevice.h | ||
gdkwaylanddisplay.h | ||
gdkwaylandglcontext.h | ||
gdkwaylandmonitor.h | ||
gdkwaylandselection.h | ||
gdkwaylandwindow.h | ||
gdkwindow-wayland.c | ||
meson.build | ||
wm-button-layout-translation.c | ||
wm-button-layout-translation.h |