From 1446525ac78b25932db12e4e690184b137fc6aa8 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 13 Jul 2023 21:36:00 -0700 Subject: 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. --- src/drm_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drm_fb.c') diff --git a/src/drm_fb.c b/src/drm_fb.c index 4996252..d10891b 100644 --- a/src/drm_fb.c +++ b/src/drm_fb.c @@ -354,7 +354,7 @@ static drmModeModeInfo * lookup_mode(drmModeConnector *connector, const char *mo /* prepare the drm context for use with the supplied settings */ -static int drm_fb_init(const til_setup_t *setup, void **res_context) +static int drm_fb_init(const char *title, const til_setup_t *setup, void **res_context) { drm_fb_setup_t *s = (drm_fb_setup_t *)setup; drm_fb_t *c; -- cgit v1.2.1