diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-07-13 21:36:00 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-07-13 21:47:56 -0700 |
commit | 1446525ac78b25932db12e4e690184b137fc6aa8 (patch) | |
tree | 46434c9363d4acf7610abaa7f863f660ecaa35b4 /src/mem_fb.c | |
parent | 2f4011b4c5ec416d78d6da304315708a42e39798 (diff) |
til_args,*_fb: introduce --title= and wire up to til_fb_t
For meta-demo use cases like alphazed is experimenting with, it's
desirable to change the window title from "rototiller" to
"alphazed" or whatever if in windowed mode.
This adds a way to do that in the obvious fashion...
--title="alphazed" etc.
Diffstat (limited to 'src/mem_fb.c')
-rw-r--r-- | src/mem_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem_fb.c b/src/mem_fb.c index fc9406b..ee736c7 100644 --- a/src/mem_fb.c +++ b/src/mem_fb.c @@ -63,7 +63,7 @@ static int mem_fb_setup(const til_settings_t *settings, til_setting_t **res_sett } -static int mem_fb_init(const til_setup_t *setup, void **res_context) +static int mem_fb_init(const char *title, const til_setup_t *setup, void **res_context) { mem_fb_t *c; int r; |