Browse Source

wayland: Remove an unnecessary surface commit

Frank Praznik 2 tuần trước cách đây
mục cha
commit
78bea90b18
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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);
             }
         }
     }