Skip to content

Disparate target/source sizes cause wraparound and/or jumpiness #15

@bugdanov

Description

@bugdanov

Looking at commit 00a6a16 from @hamishcoleman that almost fixed issue #5 in my case (THANKS)

The wrap-around problem that appear with this commit gives me an idea for a more general approach of the problem (ie: allow to reach any part of any target desktop layout and resolution)

It should be possible to move the hidden cursor in the source display too no ?

So maybe the hidden cursor in the source display could be restricted to an area (or not) and "wrapped around" so that we can compute deltas that could be added to the current cursor position in the target display instead of using the absolute source display cursor coordinates ?

(with an optional scale - the default scale could be computed using the size in mm returned by X for each screen as in xrandr)

So the question is: is it possible to move the hidden cursor in the source display to achieve this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions