commit | 94ab2db366b2607391358d472dfb6f8f5eab9644 | [log] [tgz] |
---|---|---|
author | Peter Åstrand (astrand) <astrand@cendio.se> | Wed Mar 07 12:32:30 2018 +0100 |
committer | Peter Åstrand (astrand) <astrand@cendio.se> | Mon Apr 09 10:26:25 2018 +0200 |
tree | 7cb8e2321f1ef9e6b706b413403bdefbcfba5267 | |
parent | 1173637739194be70e4158e911a31dccf39edeb0 [diff] |
Corrected RandR wrapper return codes In RandR land, there's a lot of return code confusion. Our wrappers are using the same return codes as RRCrtcSet, RRScreenSizeSet: 1/TRUE for success. Fixes: * vncRandRCreateOutputs did not follow this convention * A lot of code returned -1 upon failure * vncRandRDisableOutput returned 0 for already disabled outputs