aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/StName.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/StName.c')
-rw-r--r--libX11/src/StName.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/src/StName.c b/libX11/src/StName.c
index ba01ffb0c..b057cdae3 100644
--- a/libX11/src/StName.c
+++ b/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);
}