Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
YaLTeR committed Sep 11, 2023
1 parent d52ca23 commit 07c4632
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 38 deletions.
68 changes: 34 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions src/niri.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use smithay::backend::renderer::element::surface::{
};
use smithay::backend::renderer::element::texture::{TextureBuffer, TextureRenderElement};
use smithay::backend::renderer::element::{
render_elements, AsRenderElements, Element, RenderElement, RenderElementStates,
render_elements, AsRenderElements, Element, Kind, RenderElement, RenderElementStates,
};
use smithay::backend::renderer::gles::{GlesMapping, GlesRenderer, GlesTexture};
use smithay::backend::renderer::{Bind, ExportMem, Frame, ImportAll, Offscreen, Renderer};
Expand Down Expand Up @@ -737,11 +737,17 @@ impl Niri {
None,
None,
None,
Kind::Cursor,
),
)],
CursorImageStatus::Surface(surface) => {
render_elements_from_surface_tree(renderer, surface, pointer_pos, 1., 1.)
}
CursorImageStatus::Surface(surface) => render_elements_from_surface_tree(
renderer,
surface,
pointer_pos,
1.,
1.,
Kind::Cursor,
),
};

if let Some(dnd_icon) = &self.dnd_icon {
Expand All @@ -751,6 +757,7 @@ impl Niri {
pointer_pos,
1.,
1.,
Kind::Unspecified,
));
}

Expand Down

0 comments on commit 07c4632

Please sign in to comment.