소스 검색

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);
             }
         }
     }