diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2009-12-23 21:53:36 +0100 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2009-12-23 21:53:36 +0100 |
commit | 87b9916dd4b471a9b8b02f166f6553f04f219769 (patch) | |
tree | 508a18f009d7ee2aa33915345598776d8fd832f1 | |
parent | bb1947831d9a4e080b8d1e9dba086af6527ef479 (diff) |
kms: Remove the one-off offset of connector names compared to the kernel.
- Seeing DVI-I-0 in xrandr and DVI-I-1 in the kernel logs can be a source of
confusion.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
-rw-r--r-- | src/drmmode_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 759cdb8..e37e7c1 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1019,7 +1019,7 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) } snprintf(name, 32, "%s-%d", output_names[koutput->connector_type], - koutput->connector_type_id - 1); + koutput->connector_type_id); output = xf86OutputCreate (pScrn, &drmmode_output_funcs, name); if (!output) { |