1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

- Added support for NET_WM_NAME/NET_WM_ICON_NAME

- moved out font name conversion code from getstyle/setstyle/convertfonts and made it support fontsets
This commit is contained in:
kojima
2004-10-16 22:05:04 +00:00
parent 9402724e40
commit 7055530895
17 changed files with 305 additions and 549 deletions

View File

@@ -722,12 +722,14 @@ wManageWindow(WScreen *scr, Window window)
return NULL;
}
if (!wFetchName(dpy, window, &title)) {
title = NULL;
}
wwin = wWindowCreate();
title= wNETWMGetWindowName(window);
if (title)
wwin->flags.net_has_title= 1;
if (!title && !wFetchName(dpy, window, &title))
title = NULL;
XSaveContext(dpy, window, wWinContext, (XPointer)&wwin->client_descriptor);
#ifdef DEBUG