summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XrrOutput.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XrrOutput.c b/src/XrrOutput.c
index 2288ca8..f13a932 100644
--- a/src/XrrOutput.c
+++ b/src/XrrOutput.c
@@ -111,6 +111,7 @@ XRRGetOutputInfo (Display *dpy, XRRScreenResources *resources, RROutput output)
*/
_XReadPad (dpy, xoi->name, rep.nameLength);
xoi->name[rep.nameLength] = '\0';
+ xoi->nameLen = rep.nameLength;
/*
* Skip any extra data