aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 11:40:52 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-17 11:40:52 +0200
commit52b59a7907eadd9d1fe06de86437966a551e4d31 (patch)
treef99e7985fb23fb0b6ee1c5b2a51f67868f674fd9
parent0e4eb40d8e648d822e87ff74b1292a1dbf264892 (diff)
downloadcherry-52b59a7907eadd9d1fe06de86437966a551e4d31.tar.gz
cherry-52b59a7907eadd9d1fe06de86437966a551e4d31.zip
Define empty strings for window_name and
icon_name when creating a new window
-rw-r--r--src/window.c6
1 files changed, 4 insertions, 2 deletions
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);