diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-14 08:35:49 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-14 09:03:20 +0300 |
| commit | 0d3610416cb030e81251c4accf84353acf2059f0 (patch) | |
| tree | 368f1509ccd13d1c1b990b5ead4768730fa8d176 /src/ui | |
| parent | 377ad540165415b4141621b6b38f2da6fdecb24c (diff) | |
| download | niri-0d3610416cb030e81251c4accf84353acf2059f0.tar.gz niri-0d3610416cb030e81251c4accf84353acf2059f0.tar.bz2 niri-0d3610416cb030e81251c4accf84353acf2059f0.zip | |
Update Smithay (idle-notify 2)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/screenshot_ui.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/screenshot_ui.rs b/src/ui/screenshot_ui.rs index 58298de9..aa6c38b8 100644 --- a/src/ui/screenshot_ui.rs +++ b/src/ui/screenshot_ui.rs @@ -657,7 +657,7 @@ pub fn rect_from_corner_points( let y2 = max(a.y, b.y); // We're adding + 1 because the pointer is clamped to output size - 1, so to get the full // screen worth of selection we must add back that + 1. - Rectangle::from_extemities((x1, y1), (x2 + 1, y2 + 1)) + Rectangle::from_extremities((x1, y1), (x2 + 1, y2 + 1)) } fn render_panel( |
