Commit 0c5179c2 authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

modesetting: Update props for dynamically added outputs

Dynamically added outputs should have their properties
properly updated as well. Otherwise we're left with an output
with many of its propeties not exposed.
Signed-off-by: Ville Syrjälä's avatarVille Syrjälä <>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <>
parent 194ba387
......@@ -3003,8 +3003,14 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, drmModeResPtr mode_r
if (dynamic)
if (dynamic) {
output->randr_output = RROutputCreate(xf86ScrnToScreen(pScrn), output->name, strlen(output->name), output);
if (output->randr_output) {
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment