From fddcd84ce0d35618d613d620b19240bb1f7d1753 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 17 May 2023 11:41:41 +0200 Subject: Add logic to change the window name --- src/window.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/window.c') diff --git a/src/window.c b/src/window.c index 13323c9..b4663be 100644 --- a/src/window.c +++ b/src/window.c @@ -59,6 +59,9 @@ void cherry_window_set_title(CherryWindow *w, char *title) { w->title = strdup(title); + + CherryApplication *app = cherry_application_get_running_app(); + XStoreName(app->display, w->window_handler, w->title); } void -- cgit v1.2.3