diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-09-30 07:31:57 +0000 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-10-13 12:30:21 -0700 |
commit | 2f134b84445d2d0bfe3d81276bc7f6648df062ee (patch) | |
tree | 37c35132a4b8d143a20c9c97368e6217f16eb774 /src/drmmode_display.c | |
parent | fcc2ee48b866b81c79315ff10189b56fc201539d (diff) |
Return failure when the enum-type output property values are not found
Failure to do so causes xrandr to report incorrect property values.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 472bc742..3417cab6 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1148,6 +1148,7 @@ drmmode_output_set_property(xf86OutputPtr output, Atom property, return TRUE; } } + return FALSE; } } |