screencopy: Fix cursor events for absolute motion
This commit is contained in:
parent
9b1221edc5
commit
0af8d5eb2d
1 changed files with 13 additions and 0 deletions
|
|
@ -371,6 +371,19 @@ impl State {
|
|||
geometry,
|
||||
&workspace,
|
||||
);
|
||||
|
||||
for session in sessions_for_output(&self.common, &output) {
|
||||
if let Some((geometry, offset)) = seat.cursor_geometry(
|
||||
position.to_buffer(
|
||||
output.current_scale().fractional_scale(),
|
||||
output.current_transform(),
|
||||
&output.geometry().size.to_f64(),
|
||||
),
|
||||
self.common.clock.now(),
|
||||
) {
|
||||
session.cursor_info(seat, InputType::Pointer, geometry, offset);
|
||||
}
|
||||
}
|
||||
seat.get_pointer().unwrap().motion(
|
||||
self,
|
||||
under,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue