forge
Explore
Log in

Don't you dare go Hollow

Remove unnecessary mut

Browse files at this commit

b65fad09d8f5253a28ee7ad9d293583641fc2c36Ivan MolodetskikhParent: 09a559d
src/niri.rsmodified+1 -1
@@ -2630,7 +2630,7 @@ impl Niri {
26302630 /// locations to global space according to where they are rendered.
26312631 ///
26322632 /// This function does not take pointer or touch grabs into account.
2633- pub fn contents_under(&mut self, pos: Point<f64, Logical>) -> PointContents {
2633+ pub fn contents_under(&self, pos: Point<f64, Logical>) -> PointContents {
26342634 let mut rv = PointContents::default();
26352635
26362636 let Some((output, pos_within_output)) = self.output_under(pos) else {