diff --git a/tools/qualcomm/gamescope-patches/0116-release-cursor-shm-buffers.patch b/tools/qualcomm/gamescope-patches/0116-release-cursor-shm-buffers.patch deleted file mode 100644 index 03b4d7fd0..000000000 --- a/tools/qualcomm/gamescope-patches/0116-release-cursor-shm-buffers.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/src/wlserver.cpp -+++ b/src/wlserver.cpp -@@ -203,6 +203,12 @@ - } - - void xwayland_surface_commit(struct wlr_surface *wlr_surface) { -+ // Cursor surfaces never acquire an X11/xdg window association. Keeping their -+ // commits in g_PendingCommits pins every old SHM buffer until the cursor -+ // surface is destroyed. X11 cursor images are handled by MouseCursor. -+ if ( wlr_surface->role && strcmp( wlr_surface->role->name, "wl_pointer-cursor" ) == 0 ) -+ return; -+ - wlr_surface->current.committed = 0; - - wlserver_x11_surface_info *wlserver_x11_surface_info = get_wl_surface_info(wlr_surface)->x11_surface;