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.
This commit is contained in:
Ian Douglas Scott 2026-05-07 10:16:35 -07:00 committed by Ian Douglas Scott
parent 51dd3bc66f
commit b6b76e1d4a

View file

@ -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())
})
}