From b65fad09d8f5253a28ee7ad9d293583641fc2c36 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 10 Feb 2025 08:03:39 +0300 Subject: Remove unnecessary mut --- src/niri.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/niri.rs b/src/niri.rs index 37620e4c..7e1884be 100644 --- a/src/niri.rs +++ b/src/niri.rs @@ -2630,7 +2630,7 @@ impl Niri { /// locations to global space according to where they are rendered. /// /// This function does not take pointer or touch grabs into account. - pub fn contents_under(&mut self, pos: Point) -> PointContents { + pub fn contents_under(&self, pos: Point) -> PointContents { let mut rv = PointContents::default(); let Some((output, pos_within_output)) = self.output_under(pos) else { -- cgit