Преглед изворни кода

wayland: Remove an unnecessary surface commit

Frank Praznik пре 2 недеља
родитељ
комит
78bea90b18
1 измењених фајлова са 0 додато и 3 уклоњено
  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);
             }
         }
     }