diff --git a/client/displayservers/Wayland/shell_libdecor.c b/client/displayservers/Wayland/shell_libdecor.c index a4733aac..7eaa4e20 100644 --- a/client/displayservers/Wayland/shell_libdecor.c +++ b/client/displayservers/Wayland/shell_libdecor.c @@ -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; diff --git a/client/displayservers/Wayland/shell_xdg.c b/client/displayservers/Wayland/shell_xdg.c index f4b12d7b..5c14d62b 100644 --- a/client/displayservers/Wayland/shell_xdg.c +++ b/client/displayservers/Wayland/shell_xdg.c @@ -47,7 +47,7 @@ static void xdgSurfaceConfigure(void * data, struct xdg_surface * xdgSurface, wlWm.needsResize = true; wlWm.resizeSerial = serial; app_invalidateWindow(); - waylandForceRender(); + waylandStopWaitFrame(); } else { diff --git a/client/displayservers/Wayland/wayland.c b/client/displayservers/Wayland/wayland.c index 21995b00..551ee5a1 100644 --- a/client/displayservers/Wayland/wayland.c +++ b/client/displayservers/Wayland/wayland.c @@ -174,6 +174,7 @@ struct LG_DisplayServerOps LGDS_Wayland = #endif .waitFrame = waylandWaitFrame, .skipFrame = waylandSkipFrame, + .stopWaitFrame = waylandStopWaitFrame, .guestPointerUpdated = waylandGuestPointerUpdated, .setPointer = waylandSetPointer, .grabPointer = waylandGrabPointer, diff --git a/client/displayservers/Wayland/wayland.h b/client/displayservers/Wayland/wayland.h index bd8d39f3..fdce5ebb 100644 --- a/client/displayservers/Wayland/wayland.h +++ b/client/displayservers/Wayland/wayland.h @@ -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); diff --git a/client/displayservers/Wayland/window.c b/client/displayservers/Wayland/window.c index 39ff0976..98b27990 100644 --- a/client/displayservers/Wayland/window.c +++ b/client/displayservers/Wayland/window.c @@ -151,7 +151,7 @@ void waylandSkipFrame(void) wl_surface_commit(wlWm.surface); } -void waylandForceRender(void) +void waylandStopWaitFrame(void) { lgSignalEvent(wlWm.frameEvent); }