💩 Allow x11 mode to get window decorations
This commit is contained in:
@@ -26,6 +26,7 @@ var iconPNG []byte
|
||||
|
||||
var preferredTheme = flag.String("theme", "", "Specify the theme to be used. dark/light")
|
||||
var linger = flag.String("linger", "", "If specified, linger for the given duration (e.g. 10s) before actually closing.")
|
||||
var x11 = flag.Bool("x11", false, "Force the X11 backend (Linux, XWayland): uses the window manager's decorations instead of shirei's client-side titlebar")
|
||||
|
||||
type Gitmoji struct {
|
||||
Emoji string
|
||||
@@ -86,9 +87,8 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
app.SetupWindow("Gitmoji Picker", 300, 300)
|
||||
app.SetupIconBytes(iconPNG)
|
||||
app.Run(RootView)
|
||||
setupWindow("Gitmoji Picker", 300, 300)
|
||||
runWindow(RootView)
|
||||
}
|
||||
|
||||
func loadEntries(gitmojiData *GitmojiData) {
|
||||
|
||||
Reference in New Issue
Block a user