On Sat, Feb 14, 2026 at 10:46:01PM +0100, Peter Valach wrote:
> My first plan was to make sure that whole menu fits on the screen, but
> it had the very bad side effect, that the center item didn't always
> end up under cursor

You can use XWarpPointer() to automagically move the cursor over to the
center in those edge cases. Though maybe that could be a bit jarring to
have your cursor jump over, you'll need to test it out and judge for
yourself.

- NRK

Reply via email to