💩 Allow x11 mode to get window decorations

This commit is contained in:
2026-09-25 22:59:58 +02:00
parent fe89f803d7
commit 7f0c48100e
3 changed files with 53 additions and 3 deletions
+14
View File
@@ -0,0 +1,14 @@
//go:build !linux
package main
import app "go.hasen.dev/shirei/app"
func setupWindow(title string, width, height int) {
app.SetupWindow(title, width, height)
app.SetupIconBytes(iconPNG)
}
func runWindow(frameFn func()) {
app.Run(frameFn)
}