Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Feb 10, 2025
1 parent 9aceb3e commit 0f98c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwaysip/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ fn get_area_inner(
.bind::<WlShm, _, _>(&qh, 1..=1, ())
.map_err(WaySipError::NotSupportedProtocol)?;

let cursor_buffer = get_cursor_buffer(&connection, &shm);
let cursor_buffer = get_cursor_buffer(connection, &shm);

if cursor_manager.is_none() && cursor_buffer.is_none() {
return Err(WaySipError::CursorThemeFetchFailed);
Expand Down

0 comments on commit 0f98c4c

Please sign in to comment.