diff --git a/examples/create-react-app/main.go b/examples/create-react-app/main.go index d1c6ea7..03b944d 100644 --- a/examples/create-react-app/main.go +++ b/examples/create-react-app/main.go @@ -15,7 +15,7 @@ func main() { Title: "Hello, World!", Height: 500, Width: 500, - Tilted: true, + Titled: true, Resizeable: true, } diff --git a/muon.go b/muon.go index 8460779..3f20d7e 100644 --- a/muon.go +++ b/muon.go @@ -37,7 +37,7 @@ type Config struct { Resizeable bool Borderless bool - Tilted bool + Titled bool Maximizable bool } @@ -64,8 +64,9 @@ func New(cfg *Config, handler http.Handler) *Window { hint |= 1 } - if cfg.Tilted { + if !cfg.Titled { hint |= 2 + w.cfg.Title = "" } if cfg.Maximizable {