1
0
Fork 0
forked from wry/wry

xdg-toplevel: center fullscreen surfaces with geometry smaller than output

This commit is contained in:
Julian Orth 2025-08-30 15:23:44 +02:00
parent 642eaffcff
commit 197b069c50
6 changed files with 81 additions and 26 deletions

View file

@ -308,7 +308,7 @@ impl WlSubsurfaceRequestHandler for WlSubsurface {
if !parent.need_extents_update.get() {
break;
}
parent.calculate_extents();
parent.calculate_extents(true);
parent_opt = parent.ext.get().subsurface_parent();
}
}