app: mark first window as the main one
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-05-27 17:43:35 +02:00
parent 100b961494
commit c190f3f6f2
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -31,6 +31,9 @@ func RunApp() {
goxkcdreader := getApp()
w := goxkcdreader.NewWindow(cmd.GetAppName())
// mark this window as the main window
w.SetMaster()
centered := container.New(
layout.NewHBoxLayout(),
layout.NewSpacer(),