// The window-title plumbing, kept apart because the import rule pins it to a // file head: apply_window_title pushes a title onto the OS window, and every // vendetta desktop build renders through ui2's custom GL renderer (the macOS // compile_error guard in main.v leans on it too), whose window is sokol's, so // the title goes through gg's sapp wrapper; android has no title bar and // ignores the call harmlessly. import gg $if android || linux || ((macos || windows) && ui2_custom_rendering ?) { fn apply_window_title(title string) { gg.set_window_title(title) } } $else { fn apply_window_title(_ string) {} }