mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-21 01:13:38 +00:00
Fix Pending property API, adding RRPostPendingProperty.
Pending Properties take effect when the driver says they do, so provide an API to tell DIX when a property effect is made. Also, allow driver to reject property values in RRChangeOutputProperty. (cherry picked from commit 8eb288fbd69e2ffd02521d2c6a964c8180d08ec8)
This commit is contained in:
parent
86d76390eb
commit
7093367c39
3 changed files with 99 additions and 59 deletions
|
|
@ -1923,7 +1923,7 @@ xf86OutputSetEDIDProperty (xf86OutputPtr output, void *data, int data_len)
|
|||
|
||||
if (data_len != 0) {
|
||||
RRChangeOutputProperty(output->randr_output, edid_atom, XA_INTEGER, 8,
|
||||
PropModeReplace, data_len, data, FALSE);
|
||||
PropModeReplace, data_len, data, FALSE, TRUE);
|
||||
} else {
|
||||
RRDeleteOutputProperty(output->randr_output, edid_atom);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue