aboutsummaryrefslogtreecommitdiff
path: root/src/layout/closing_window.rs
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-06-18 12:19:23 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-06-18 14:01:34 +0300
commit66202992c9536c0e01395813f9a611aa111e5ded (patch)
treef76155ad6b1c49c7d409db776441d4cf4ae25f15 /src/layout/closing_window.rs
parenteb59b10050d5806dd6dd42cfb9e93e1b65a24d4f (diff)
downloadniri-66202992c9536c0e01395813f9a611aa111e5ded.tar.gz
niri-66202992c9536c0e01395813f9a611aa111e5ded.tar.bz2
niri-66202992c9536c0e01395813f9a611aa111e5ded.zip
Fix blurry rounded corners on high scales
Diffstat (limited to 'src/layout/closing_window.rs')
-rw-r--r--src/layout/closing_window.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/closing_window.rs b/src/layout/closing_window.rs
index 06b5927c..cbaf29be 100644
--- a/src/layout/closing_window.rs
+++ b/src/layout/closing_window.rs
@@ -164,6 +164,7 @@ impl ClosingWindow {
ProgramType::Close,
view_rect.size,
None,
+ scale.x as f32,
1.,
vec![
mat3_uniform("niri_input_to_geo", input_to_geo),