#cursor grab for rectangle inside window

1 messages · Page 1 of 1 (latest)

sullen geyser
#

so we have setCursorGrab to lock the cursor to the window
is there also a way to restrict the cursor to a rectangle inside the window?
like I want to specify a coordinate rectangle and the cursor to stay within that

versed geyser
#

afaik no

sullen geyser
# versed geyser afaik no

Seems like clip_cursor would do the job
Is there a way to access that within tauri, or do I need some other windows crate?

versed geyser