summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-03-15 19:49:27 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2021-03-17 19:09:44 -0400
commit61adeda1d32b1f298551d51616286bff104fcd69 (patch)
treee526eb1a88e3e22b14e1b7f877ca0f847fa1c713
parentf5b6dc1af2398ce2e55d0e71d91b12e6612e1f3e (diff)
downloadxorg-lib-libXcursor-61adeda1d32b1f298551d51616286bff104fcd69.tar.gz
document the theme_core setter/getter functions
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
-rw-r--r--man/Xcursor.man19
1 files changed, 16 insertions, 3 deletions
diff --git a/man/Xcursor.man b/man/Xcursor.man
index 13f2331..8b9956a 100644
--- a/man/Xcursor.man
+++ b/man/Xcursor.man
@@ -473,6 +473,17 @@ char *XcursorGetTheme (Display *\fIdpy\fP)
.NE
Gets the current theme name.
+.NS
+XcursorBool XcursorGetThemeCore (
+ Display *\fIdpy\fP)
+.NS
+XcursorBool XcursorSetThemeCore (
+ Display *\fIdpy\fP,
+ XcursorBool \fItheme_core\fP)
+.NE
+Get or set property which tells Xcurses whether to
+enable themes for core cursors.
+
.SH "ENVIRONMENT VARIABLES"
Environment variables can be used to override resource settings,
which in turn override compiled-in default values.
@@ -545,7 +556,7 @@ Directories in this path are separated by colons (:).
This variable sets the desired cursor size, in pixels.
.IP
If the environment variable is not given,
-Xcursor tries the resource \fBXcursor.size\fP.
+Xcursor tries the \fBXcursor.size\fP resource.
.IP
If no size is given, whether by environment variable or resource setting,
Xcursor next tries the \fBXft.dpi\fP resource setting to guess
@@ -559,7 +570,7 @@ dividing by 48 (assuming that the height is 768).
This variable selects the desired \fItheme\fP.
.IP
If the environment variable is not given,
-Xcursor tries the resource \fBXcursor.theme\fP.
+Xcursor tries the \fBXcursor.theme\fP resource.
.IP
If neither environment variable or resource is found,
Xcursor uses the \fIdefault\fP theme.
@@ -568,7 +579,9 @@ Xcursor uses the \fIdefault\fP theme.
Enables themes for core cursors if the environment variable is \fItrue\fP.
.IP
If the environment variable is not given,
-Xcursor tries the resource \fBXcursor.theme_core\fP.
+Xcursor tries the \fBXcursor.theme_core\fP resource.
+.IP
+An application can enable or disable themes using XcursorSetThemeCore.
.SH RESTRICTIONS
.B Xcursor
will probably change radically in the future; weak attempts will be made to