[client] wayland: implement stopWaitFrame

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-08-01 19:54:28 +10:00
1 parent f64310320a
commit f08e2ece93
5 files changed
+5 -4

No files matched your search

@@ -70,7 +70,7 @@ static void libdecorFrameConfigure(struct libdecor_frame * frame,
wlWm.needsResize = true;
wlWm.resizeSerial = configuration->serial;
app_invalidateWindow();
waylandForceRender();
waylandStopWaitFrame();
}
else
wlWm.configured = true;
+1 -1
View File
@@ -47,7 +47,7 @@ static void xdgSurfaceConfigure(void * data, struct xdg_surface * xdgSurface,
wlWm.needsResize = true;
wlWm.resizeSerial = serial;
app_invalidateWindow();
waylandForceRender();
waylandStopWaitFrame();
}
else
{
+1
View File
@@ -174,6 +174,7 @@ struct LG_DisplayServerOps LGDS_Wayland =
#endif
.waitFrame = waylandWaitFrame,
.skipFrame = waylandSkipFrame,
.stopWaitFrame = waylandStopWaitFrame,
.guestPointerUpdated = waylandGuestPointerUpdated,
.setPointer = waylandSetPointer,
.grabPointer = waylandGrabPointer,
+1 -1
View File
@@ -308,4 +308,4 @@ void waylandSetWindowSize(int x, int y);
bool waylandIsValidPointerPos(int x, int y);
void waylandWaitFrame(void);
void waylandSkipFrame(void);
void waylandForceRender(void);
void waylandStopWaitFrame(void);
+1 -1
View File
@@ -151,7 +151,7 @@ void waylandSkipFrame(void)
wl_surface_commit(wlWm.surface);
}
void waylandForceRender(void)
void waylandStopWaitFrame(void)
{
lgSignalEvent(wlWm.frameEvent);
}