summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index cc37aa7..0b94c24 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -312,6 +312,7 @@ pub struct Surface {
}
impl Surface {
+ #[allow(clippy::too_many_arguments)]
fn new(
output: &wl_output::WlOutput,
output_id: u32,
@@ -366,7 +367,7 @@ impl Surface {
// Commit so that the server will send a configure event
surface.commit();
- let river_output_status = river_status.get_river_output_status(&output);
+ let river_output_status = river_status.get_river_output_status(output);
let tags_info = Rc::new(RefCell::new(TagsInfo::default()));
let tags_info_handle = Rc::clone(&tags_info);
let blocks_handle = Rc::clone(&blocks);