diff --git a/docs/common/cursor_c.ldoc b/docs/common/cursor_c.ldoc new file mode 100644 index 000000000..6b595973d --- /dev/null +++ b/docs/common/cursor_c.ldoc @@ -0,0 +1,80 @@ + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
num_glyphs
cursor
arrow
based_arrow_down
based_arrow_up
boat
bogosity
bottom_left_corner
bottom_right_corner
bottom_side
bottom_tee
box_spiral
center_ptr
circle
clock
coffee_mug
cross
cross_reverse
crosshair
diamond_cross
dot
dotbox
double_arrow
draft_large
draft_small
draped_box
exchange
fleur
gobbler
gumby
hand
hand
heart
icon
iron_cross
left_ptr
left_side
left_tee
leftbutton
ll_angle
lr_angle
man
middlebutton
mouse
pencil
pirate
plus
question_arrow
right_ptr
right_side
right_tee
rightbutton
rtl_logo
sailboat
sb_down_arrow
sb_h_double_arrow
sb_left_arrow
sb_right_arrow
sb_up_arrow
sb_v_double_arrow
shuttle
sizing
spider
spraycan
star
target
tcross
top_left_arrow
top_left_corner
top_right_corner
top_side
top_tee
trek
ul_angle
umbrella
ur_angle
watch
xterm
diff --git a/mousegrabber.c b/mousegrabber.c index 2ad65a1cc..b35d17546 100644 --- a/mousegrabber.c +++ b/mousegrabber.c @@ -83,6 +83,11 @@ mousegrabber_handleevent(lua_State *L, int x, int y, uint16_t mask) * The function is called with one argument: * a table containing modifiers pointer coordinates. * + * The list of valid cusrors are: + * + *@DOC_cursor_c_COMMON@ + * + * * @param func A callback function as described above. * @param cursor The name of a X cursor to use while grabbing. * @function run diff --git a/root.c b/root.c index 99ebdb1ca..3564570d0 100644 --- a/root.c +++ b/root.c @@ -361,7 +361,11 @@ luaA_root_buttons(lua_State *L) return 1; } -/** Set the root cursor. +/** Set the root cursor + * + * The possible values are: + * + *@DOC_cursor_c_COMMON@ * * @param cursor_name A X cursor name. * @function cursor