~ubuntu-branches/ubuntu/lucid/libx11/lucid

« back to all changes in this revision

Viewing changes to src/StName.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen
  • Date: 2009-01-17 16:34:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090117163454-gaey3cd32xyavueo
Tags: 2:1.1.99.2-1build1
Fakesync with Debian, all previous Ubuntu changes are included
in the new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    Window w,
39
39
    _Xconst char *name)
40
40
{
41
 
    return XChangeProperty(dpy, w, XA_WM_NAME, XA_STRING, 
 
41
    return XChangeProperty(dpy, w, XA_WM_NAME, XA_STRING,
42
42
                           8, PropModeReplace, (unsigned char *)name,
43
43
                           name ? strlen(name) : 0);
44
44
}
49
49
    Window w,
50
50
    _Xconst char *icon_name)
51
51
{
52
 
    return XChangeProperty(dpy, w, XA_WM_ICON_NAME, XA_STRING, 
 
52
    return XChangeProperty(dpy, w, XA_WM_ICON_NAME, XA_STRING,
53
53
                           8, PropModeReplace, (unsigned char *)icon_name,
54
54
                           icon_name ? strlen(icon_name) : 0);
55
55
}