diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 08:03:39 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 07:29:33 -0800 |
| commit | b65fad09d8f5253a28ee7ad9d293583641fc2c36 (patch) | |
| tree | bf325a3c93f6a629576f40860706899f3e3f2ecd /src | |
| parent | 09a559d3c9734330c4243791a4656acd6896f5cb (diff) | |
| download | niri-b65fad09d8f5253a28ee7ad9d293583641fc2c36.tar.gz niri-b65fad09d8f5253a28ee7ad9d293583641fc2c36.tar.bz2 niri-b65fad09d8f5253a28ee7ad9d293583641fc2c36.zip | |
Remove unnecessary mut
Diffstat (limited to 'src')
| -rw-r--r-- | src/niri.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<f64, Logical>) -> PointContents { + pub fn contents_under(&self, pos: Point<f64, Logical>) -> PointContents { let mut rv = PointContents::default(); let Some((output, pos_within_output)) = self.output_under(pos) else { |
