Browse Source

wayland: Remove an unnecessary surface commit

Frank Praznik 2 weeks ago
parent
commit
78bea90b18
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/video/wayland/SDL_waylandevents.c

+ 0 - 3
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);
             }
         }
     }