Skip to content

Commit

Permalink
fix: remove unnecessary mut;
Browse files Browse the repository at this point in the history
  • Loading branch information
codybloemhard committed Aug 12, 2024
1 parent 9e73b1f commit a4c430e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builtin/actions/floating.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn toggle_floating_focused<X: XConn>() -> Box<dyn KeyEventHandler<X>> {
None => return Ok(()),
};

let mut r = x.client_geometry(id)?;
let r = x.client_geometry(id)?;

x.modify_and_refresh(state, |cs| {
if let Err(err) = cs.toggle_floating_state(id, r) {
Expand Down

0 comments on commit a4c430e

Please sign in to comment.