]> diplodocus.org Git - xorg-xinput/commit
Replace NVIDIA-specific output checking
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 17 Feb 2012 04:34:23 +0000 (14:34 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 23 Feb 2012 00:41:00 +0000 (10:41 +1000)
commitb181658db7c72b664d40f2736fe425819421ce52
tree7b45cf0e1af377f7da497fabe61028334be23e7a
parenteb40d9cc5d59321263fd8fa3f76ddd912d1fb804
Replace NVIDIA-specific output checking

If the binary driver drives at least one screen, the old method did
not allow for randr-style screen binding (on the other screen).

Change the logic to:
- check if the output an randr output
- if not, check if the "default" randr output is present and the output name
  was "HEAD-n"
  - if so, use Xinerama-style mapping

This keeps the current behaviour of not allowing Xinerama-style mapping if
all outputs are RandR capable.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Tested-by: Aaron Plattner <aplattner@nvidia.com>
src/transform.c