From 0d3610416cb030e81251c4accf84353acf2059f0 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 14 Feb 2025 08:35:49 +0300 Subject: Update Smithay (idle-notify 2) --- src/ui/screenshot_ui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') 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( -- cgit