document/tidy the new set/get functions

Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
Thomas E. Dickey 2024-10-31 20:20:09 -04:00
parent fa5c5bb1bd
commit 83071fff3f
No known key found for this signature in database
GPG key ID: CC2AF4472167BE03
3 changed files with 16 additions and 3 deletions

View file

@ -487,7 +487,7 @@ XcursorGetDefaultSize (Display *dpy);
XcursorBool
XcursorSetResizable (Display *dpy, XcursorBool flag);
int
XcursorBool
XcursorGetResizable (Display *dpy);
XcursorBool

View file

@ -760,6 +760,20 @@ int XcursorGetDefaultSize (
Gets the default cursor size.
.
.PS
XcursorBool XcursorSetResizable (
Display *\fIdpy\fP,
XcursorBool \fIresizable\fP)
.PE
Sets the current resizable-cursors state.
.
.PS
XcursorBool XcursorGetResizable (
Display *\fIdpy\fP)
.PE
Gets the current resizable-cursors state.
.
.
.PS
XcursorBool XcursorSetTheme (
Display *\fIdpy\fP,
const char *\fItheme\fP)

View file

@ -347,7 +347,7 @@ XcursorSetResizable (Display *dpy, XcursorBool flag)
return XcursorTrue;
}
int
XcursorBool
XcursorGetResizable (Display *dpy)
{
XcursorDisplayInfo *info = _XcursorGetDisplayInfo (dpy);
@ -401,7 +401,6 @@ XcursorGetThemeCore (Display *dpy)
if (!info)
return XcursorFalse;
return info->theme_core;
}
XcursorBool