deps: smithay + egui update
This commit is contained in:
parent
aa3ee245d1
commit
7a034c8e52
20 changed files with 906 additions and 657 deletions
|
|
@ -308,7 +308,7 @@ impl PointerTarget<State> for CosmicStack {
|
|||
for session in &*sessions.0.borrow() {
|
||||
let buffer_loc = (event.location.x, event.location.y); // we always screencast windows at 1x1 scale
|
||||
if let Some((geo, hotspot)) =
|
||||
seat.cursor_geometry(buffer_loc, &data.common.start_time)
|
||||
seat.cursor_geometry(buffer_loc, data.common.clock.now())
|
||||
{
|
||||
session.cursor_info(seat, InputType::Pointer, geo, hotspot);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ impl PointerTarget<State> for CosmicWindow {
|
|||
for session in &*sessions.0.borrow() {
|
||||
let buffer_loc = (event.location.x, event.location.y); // we always screencast windows at 1x1 scale
|
||||
if let Some((geo, hotspot)) =
|
||||
seat.cursor_geometry(buffer_loc, &data.common.start_time)
|
||||
seat.cursor_geometry(buffer_loc, data.common.clock.now())
|
||||
{
|
||||
session.cursor_info(seat, InputType::Pointer, geo, hotspot);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,8 @@ impl MoveGrabState {
|
|||
}
|
||||
|
||||
let scale = output.current_scale().fractional_scale().into();
|
||||
self.window.render_elements::<I>(
|
||||
AsRenderElements::<R>::render_elements::<I>(
|
||||
&self.window,
|
||||
(location.to_i32_round() - output.geometry().loc - self.window.geometry().loc)
|
||||
.to_physical_precise_round(scale),
|
||||
scale,
|
||||
|
|
|
|||
|
|
@ -1243,7 +1243,8 @@ impl TilingLayout {
|
|||
}
|
||||
})
|
||||
.flat_map(|(mapped, loc)| {
|
||||
mapped.render_elements::<TilingRenderElement<R>>(
|
||||
AsRenderElements::<R>::render_elements::<TilingRenderElement<R>>(
|
||||
mapped,
|
||||
loc.to_physical_precise_round(output_scale)
|
||||
- mapped
|
||||
.geometry()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue