💩 Allow x11 mode to get window decorations
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user