From b6b76e1d4a8edf4c6054b0d4af38c9e39e0a5ad6 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 7 May 2026 10:16:35 -0700 Subject: [PATCH] image-copy: Don't send redundantly pointer changes on fullscreen The code for sending pointer position changes for toplevels should handle this adequately; no need to also handle it here. --- src/input/mod.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/input/mod.rs b/src/input/mod.rs index fbce3b82..1081b748 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -2481,6 +2481,7 @@ impl State { } } +// Output and workspace sessions for the given output fn cursor_sessions_for_output<'a>( shell: &'a Shell, output: &'a Output, @@ -2489,14 +2490,9 @@ fn cursor_sessions_for_output<'a>( .active_space(output) .into_iter() .flat_map(|workspace| { - let fullscreen_cursors: Vec<_> = workspace - .get_fullscreen_surfaces() - .flat_map(|f| f.surface.cursor_sessions()) - .collect(); workspace .cursor_sessions() .into_iter() - .chain(fullscreen_cursors) .chain(output.cursor_sessions()) }) }