both backgrounds animating when both in view

This commit is contained in:
Rakarake 2026-02-04 18:31:19 +01:00
parent e934c1f61d
commit c04ea2f9cc
2 changed files with 15 additions and 5 deletions

View file

@ -11,6 +11,9 @@
#define DEFAULT_WIDTH 400
#define DEFAULT_HEIGHT 400
struct client_state;
struct surface {
int width, height;
@ -25,6 +28,9 @@ struct surface {
struct wl_output *wl_output;
EGLSurface egl_surface;
/// We need a back-pointer for callbacks.
struct client_state *state;
};
struct surface_list {