summaryrefslogtreecommitdiff
path: root/man/XSetWMName.man
diff options
context:
space:
mode:
Diffstat (limited to 'man/XSetWMName.man')
-rw-r--r--man/XSetWMName.man34
1 files changed, 17 insertions, 17 deletions
diff --git a/man/XSetWMName.man b/man/XSetWMName.man
index 8f598d1b..7bdb2ee2 100644
--- a/man/XSetWMName.man
+++ b/man/XSetWMName.man
@@ -99,11 +99,11 @@ Status XFetchName\^(\^Display *\fIdisplay\fP\^, Window \fIw\fP\^, char
Specifies the connection to the X server.
.IP \fItext_prop\fP 1i
Specifies the
-.ZN XTextProperty
+.B XTextProperty
structure to be used.
.IP \fItext_prop_return\fP 1i
Returns the
-.ZN XTextProperty
+.B XTextProperty
structure.
.IP \fIw\fP 1i
Specifies the window.
@@ -114,21 +114,21 @@ which should be a null-terminated string.
Returns the window name, which is a null-terminated string.
.SH DESCRIPTION
The
-.ZN XSetWMName
+.B XSetWMName
convenience function calls
-.ZN XSetTextProperty
+.B XSetTextProperty
to set the WM_NAME property.
.LP
The
-.ZN XGetWMName
+.B XGetWMName
convenience function calls
-.ZN XGetTextProperty
+.B XGetTextProperty
to obtain the WM_NAME property.
It returns a nonzero status on success;
otherwise, it returns a zero status.
.LP
The
-.ZN XStoreName
+.B XStoreName
function assigns the name passed to window_name to the specified window.
A window manager can display the window name in some prominent
place, such as the title bar, to allow users to identify windows easily.
@@ -138,33 +138,33 @@ if one is provided by the application.
If the string is not in the Host Portable Character Encoding,
the result is implementation-dependent.
.LP
-.ZN XStoreName
+.B XStoreName
can generate
-.ZN BadAlloc
+.B BadAlloc
and
-.ZN BadWindow
+.B BadWindow
errors.
.LP
The
-.ZN XFetchName
+.B XFetchName
function returns the name of the specified window.
If it succeeds,
it returns a nonzero status;
otherwise, no name has been set for the window,
and it returns zero.
If the WM_NAME property has not been set for this window,
-.ZN XFetchName
+.B XFetchName
sets window_name_return to NULL.
If the data returned by the server is in the Latin Portable Character Encoding,
then the returned string is in the Host Portable Character Encoding.
Otherwise, the result is implementation-dependent.
When finished with it, a client must free
the window name string using
-.ZN XFree .
+.BR XFree .
.LP
-.ZN XFetchName
+.B XFetchName
can generate a
-.ZN BadWindow
+.B BadWindow
error.
.SH PROPERTIES
.TP 1i
@@ -172,10 +172,10 @@ error.
The name of the application.
.SH DIAGNOSTICS
.TP 1i
-.ZN BadAlloc
+.B BadAlloc
The server failed to allocate the requested resource or server memory.
.TP 1i
-.ZN BadWindow
+.B BadWindow
A value for a Window argument does not name a defined Window.
.SH "SEE ALSO"
XAllocClassHint(__libmansuffix__),