diff options
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 { |
