Skip to content

Commit

Permalink
chore: code tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Oct 5, 2024
1 parent ec1e3ab commit db1ce18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libharuhishot/src/wlrshotbasestate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl HaruhiShotState {
event_queue
.roundtrip(&mut state)
.map_err(|_| HaruhiError::InitFailed("Error During first roundtrip".to_string()))?;
let xdg_output_manager = state.xdg_output_manager.clone().unwrap();
let xdg_output_manager = state.xdg_output_manager.as_ref().unwrap();
for display in state.displays.iter() {
xdg_output_manager.get_xdg_output(display, &qh, ());
}
Expand Down

0 comments on commit db1ce18

Please sign in to comment.