diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 13:11:50 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 07:29:33 -0800 |
| commit | 963ff14ed025eeb5d6785dbcd4c073251ef7a9e9 (patch) | |
| tree | e4d2c85b4d3c77dc46f1a20cce8feb462484e439 /src/input | |
| parent | 96a3ded2ec74954e9432f4b84bc8e125851dfb9e (diff) | |
| download | niri-963ff14ed025eeb5d6785dbcd4c073251ef7a9e9.tar.gz niri-963ff14ed025eeb5d6785dbcd4c073251ef7a9e9.tar.bz2 niri-963ff14ed025eeb5d6785dbcd4c073251ef7a9e9.zip | |
Store hit type in PointContents
Diffstat (limited to 'src/input')
| -rw-r--r-- | src/input/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs index 8abccd67..96e17bc2 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -2451,7 +2451,7 @@ impl State { if let Some(pos) = self.niri.tablet_cursor_location { let under = self.niri.contents_under(pos); - if let Some(window) = under.window { + if let Some((window, _)) = under.window { self.niri.layout.activate_window(&window); // FIXME: granular. @@ -2823,7 +2823,7 @@ impl State { let under = self.niri.contents_under(touch_location); if !handle.is_grabbed() { - if let Some(window) = under.window { + if let Some((window, _)) = under.window { self.niri.layout.activate_window(&window); // Check if we need to start an interactive move. |
