[client] ds: change signalNextFrame to waitFrame

This commit is contained in:
Quantum
2021-08-01 03:06:03 -04:00
committed by Geoffrey McRae
parent 37196f1f0e
commit 77b3d45e0e
5 changed files with 24 additions and 19 deletions

View File

@@ -176,6 +176,8 @@ struct WaylandDSState
struct wl_list surfaceOutputs; // SurfaceOutput::link
bool useFractionalScale;
LGEvent * frameEvent;
struct wl_list poll; // WaylandPoll::link
struct wl_list pollFree; // WaylandPoll::link
LG_Lock pollLock;
@@ -304,4 +306,4 @@ void waylandWindowFree(void);
void waylandWindowUpdateScale(void);
void waylandSetWindowSize(int x, int y);
bool waylandIsValidPointerPos(int x, int y);
void waylandSignalNextFrame(LGEvent * event);
void waylandWaitFrame(void);