mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcursor.git
synced 2025-12-20 04:40:11 +01:00
document/tidy the new set/get functions
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
This commit is contained in:
parent
fa5c5bb1bd
commit
83071fff3f
3 changed files with 16 additions and 3 deletions
|
|
@ -487,7 +487,7 @@ XcursorGetDefaultSize (Display *dpy);
|
|||
XcursorBool
|
||||
XcursorSetResizable (Display *dpy, XcursorBool flag);
|
||||
|
||||
int
|
||||
XcursorBool
|
||||
XcursorGetResizable (Display *dpy);
|
||||
|
||||
XcursorBool
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue