From 52b59a7907eadd9d1fe06de86437966a551e4d31 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 17 May 2023 11:40:52 +0200 Subject: Define empty strings for window_name and icon_name when creating a new window --- src/window.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/window.c b/src/window.c index 2b495b0..13323c9 100644 --- a/src/window.c +++ b/src/window.c @@ -41,10 +41,12 @@ cherry_window_new(void) app->visual, CWBackPixel, &attributes); - char hello[] = "Hello from another World!"; + char window_name[] = ""; + char icon_name[] = ""; XSetStandardProperties(app->display, w->window_handler, - hello, hello, + window_name, + icon_name, None, NULL, 0, &hints); -- cgit v1.2.3