both backgrounds animating when both in view
This commit is contained in:
parent
e934c1f61d
commit
c04ea2f9cc
2 changed files with 15 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue