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:
parent
51dd3bc66f
commit
b6b76e1d4a
1 changed files with 1 additions and 5 deletions
|
|
@ -2481,6 +2481,7 @@ impl State {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Output and workspace sessions for the given output
|
||||||
fn cursor_sessions_for_output<'a>(
|
fn cursor_sessions_for_output<'a>(
|
||||||
shell: &'a Shell,
|
shell: &'a Shell,
|
||||||
output: &'a Output,
|
output: &'a Output,
|
||||||
|
|
@ -2489,14 +2490,9 @@ fn cursor_sessions_for_output<'a>(
|
||||||
.active_space(output)
|
.active_space(output)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.flat_map(|workspace| {
|
.flat_map(|workspace| {
|
||||||
let fullscreen_cursors: Vec<_> = workspace
|
|
||||||
.get_fullscreen_surfaces()
|
|
||||||
.flat_map(|f| f.surface.cursor_sessions())
|
|
||||||
.collect();
|
|
||||||
workspace
|
workspace
|
||||||
.cursor_sessions()
|
.cursor_sessions()
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.chain(fullscreen_cursors)
|
|
||||||
.chain(output.cursor_sessions())
|
.chain(output.cursor_sessions())
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue