summaryrefslogtreecommitdiff
path: root/lib/libX11/src/StName.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-03 12:59:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-05-03 12:59:13 +0000
commit42f51ca8ac9c0f97101006a1892350b599b579c3 (patch)
treedc092d06ac762491ec21f9e28e7b33edddb9c8e9 /lib/libX11/src/StName.c
parentdf8d13bc873527069d0e7b2396638af253b48763 (diff)
update to libX11 1.2.1
Diffstat (limited to 'lib/libX11/src/StName.c')
-rw-r--r--lib/libX11/src/StName.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libX11/src/StName.c b/lib/libX11/src/StName.c
index ba01ffb0c..b057cdae3 100644
--- a/lib/libX11/src/StName.c
+++ b/lib/libX11/src/StName.c
@@ -38,7 +38,7 @@ XStoreName (
Window w,
_Xconst char *name)
{
- return XChangeProperty(dpy, w, XA_WM_NAME, XA_STRING,
+ return XChangeProperty(dpy, w, XA_WM_NAME, XA_STRING,
8, PropModeReplace, (unsigned char *)name,
name ? strlen(name) : 0);
}
@@ -49,7 +49,7 @@ XSetIconName (
Window w,
_Xconst char *icon_name)
{
- return XChangeProperty(dpy, w, XA_WM_ICON_NAME, XA_STRING,
+ return XChangeProperty(dpy, w, XA_WM_ICON_NAME, XA_STRING,
8, PropModeReplace, (unsigned char *)icon_name,
icon_name ? strlen(icon_name) : 0);
}