summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2006-11-09 20:26:33 -0800
committerEric Anholt <eric@anholt.net>2006-11-09 20:26:33 -0800
commit7ac8dba76fe33b13620e023699bf971fe8c99fb2 (patch)
tree347da6556ccf127f3d69b0b0c2e0c358751b7a82 /src
parentb49342b58d17267fae81205f1a89263ec4d3d114 (diff)
Return the right actual property type for XRRGetOutputProperty.
Diffstat (limited to 'src')
-rw-r--r--src/XrrOutput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrOutput.c b/src/XrrOutput.c
index e59af15..ce25bb3 100644
--- a/src/XrrOutput.c
+++ b/src/XrrOutput.c
@@ -349,7 +349,7 @@ XRRGetOutputProperty (Display *dpy, RROutput output,
(*prop)[nbytes] = '\0';
}
- *actual_type = rep.type;
+ *actual_type = rep.propertyType;
*actual_format = rep.format;
*nitems = rep.nItems;
*bytes_after = rep.bytesAfter;