[repo.or.cz] wmaker-crm.git branch master updated: wmaker-0.96.0-61-g260415eb4255

2 views
Skip to first unread message

crmafra

unread,
Feb 13, 2026, 4:06:49 AM (12 days ago) Feb 13
to wmake...@googlegroups.com
This is an automated email generated because a ref change occurred in the
git repository for project wmaker-crm.git.

The branch, master has been updated
via 260415eb42553f452b9049c55b0f5011fff1c218 (commit)
from c8174a4b2ec41166986df73638aa051d769a9f40 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 260415eb42553f452b9049c55b0f5011fff1c218
Author: David Maciejak <david.m...@gmail.com>
Date: Thu, 12 Feb 2026 19:00:48 -0500
URL: <https://repo.or.cz/wmaker-crm.git/260415eb42553f45>

wmaker: treat empty icon name hint as unset

This patch is treating empty _NET_WM_ICON_NAME as unset,
thus the code is falling back to set the appicon title
to the window title. Case seen with virtualbox where
the _NET_WM_ICON_NAME(UTF8_STRING) is set to empty string.
---
src/icon.c | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/src/icon.c b/src/icon.c
index 943e2d848780..14278d2c610c 100644
--- a/src/icon.c
+++ b/src/icon.c
@@ -331,6 +331,14 @@ void wIconChangeTitle(WIcon *icon, WWindow *wwin)
/* Set the new one, using two methods to identify
the icon name or switch back to window name */
icon->icon_name = wNETWMGetIconName(wwin->client_win);
+ if (icon->icon_name) {
+ /* treat empty string as unset */
+ if (icon->icon_name[0] == '\0') {
+ XFree(icon->icon_name);
+ icon->icon_name = NULL;
+ }
+ }
+
if (!icon->icon_name)
if (!wGetIconName(dpy, wwin->client_win, &icon->icon_name))
icon->icon_name = wNETWMGetWindowName(wwin->client_win);

-----------------------------------------------------------------------

Summary of changes:
src/icon.c | 8 ++++++++
1 file changed, 8 insertions(+)


repo.or.cz automatic notification. Contact project admin crm...@gmail.com
if you want to unsubscribe, or site admin ad...@repo.or.cz if you receive
no reply.
--
wmaker-crm.git ("The Window Maker window manager")
Reply all
Reply to author
Forward
0 new messages