Airblader / xedgewarp

Effortlessly move your cursor across monitors of different resolutions and alignments
MIT License
38 stars 5 forks source link

Inconsistent torus behavior #42

Open Airblader opened 7 years ago

Airblader commented 7 years ago

With two outputs 200x200+0+0 and 200x200+200+100, the torus behavior doesn't consider warping behavior. So we have these two, inconsistent, warps with torus behavior:

+-----+
|<   >|
|     +-----+
|     |     |
+-----+     |
      |     |
      +-----+
+-----+
|     |
|     +-----+
|<    |    >|
+-----+     |
      |     |
      +-----+

It should be discussed whether this is the behavior we should expect or whether it should be changed to consider warping so that the first case becomes

+-----+
|<    |
|     +-----+
|     |    >|
+-----+     |
      |     |
      +-----+

A valid solution would also be to make this a configurable behavior.