and add that baby :)

SVN revision: 5437
This commit is contained in:
Carsten Haitzler 2001-10-08 06:51:14 +00:00
parent 5ef3c10fd6
commit 5df43c96a5
1 changed files with 17 additions and 0 deletions

View File

@ -2342,6 +2342,23 @@ e_window_get_command(Window win)
return NULL;
}
char *
e_window_get_icon_name(Window win)
{
XTextProperty xtp;
if (XGetWMIconName(disp, win, &xtp))
{
char *s;
if (!xtp.value) return NULL;
s = strdup(xtp.value);
XFree(xtp.value);
return s;
}
return NULL;
}
void
e_window_set_min_size(Window win, int w, int h)
{