From 78bea90b18a1a946e06992ea392f355c7fd98e52 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Thu, 28 Aug 2025 10:01:53 -0400 Subject: [PATCH] wayland: Remove an unnecessary surface commit --- src/video/wayland/SDL_waylandevents.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c index f9209143d9..c0bf4f03cc 100644 --- a/src/video/wayland/SDL_waylandevents.c +++ b/src/video/wayland/SDL_waylandevents.c @@ -3763,9 +3763,6 @@ void Wayland_SeatUpdatePointerGrab(SDL_WaylandSeat *seat) if (confine_rect) { wl_region_destroy(confine_rect); } - - // Commit the new confinement region immediately. - wl_surface_commit(w->surface); } } }