shell/window: Fix radii for server-side decorations

This commit is contained in:
Victoria Brekenfeld 2026-07-08 15:23:00 +02:00 committed by Victoria Brekenfeld
parent 2971845d40
commit 693d1ad775

View file

@ -549,6 +549,7 @@ impl CosmicWindow {
}
self.0.with_program(|p| {
let mut radii = radii;
if has_ssd {
radii[1] = 0;
radii[3] = 0;
@ -575,6 +576,8 @@ impl CosmicWindow {
});
if has_ssd {
radii[0] = 0;
radii[2] = 0;
let ssd_loc = location
+ self
.0