From eb83fcb3e34ddb206d6201755786b3b5f02a4caf Mon Sep 17 00:00:00 2001 From: maxjivi05 Date: Sat, 24 Oct 2026 13:58:32 -0400 Subject: [PATCH] Drop the Qualcomm copy of the cursor SHM patch that main already applies --- .../0116-release-cursor-shm-buffers.patch | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 tools/qualcomm/gamescope-patches/0116-release-cursor-shm-buffers.patch 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;