mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-08 19:05:35 +00:00
app: [Wayland] account for fallback decoration height in window sizes
Pass through a fallback window decoration height to the Wayland backend, so that it can account for it when determining surface size. Fixes: https://todo.sr.ht/~eliasnaur/gio/435 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -43,6 +43,9 @@ type Config struct {
|
||||
CustomRenderer bool
|
||||
// Decorated reports whether window decorations are provided automatically.
|
||||
Decorated bool
|
||||
// decoHeight is the height of the fallback decoration for platforms such
|
||||
// as Wayland that may need fallback client-side decorations.
|
||||
decoHeight unit.Dp
|
||||
}
|
||||
|
||||
// ConfigEvent is sent whenever the configuration of a Window changes.
|
||||
|
||||
Reference in New Issue
Block a user