mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 22:20:06 +01:00
Allow DDX to not supply a property set notification function.
Check rrOutputSetProperty and only call if it isn't NULL.
This commit is contained in:
parent
895250181b
commit
8798c8cfa8
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ RRChangeOutputProperty (RROutputPtr output, Atom property, Atom type,
|
|||
output->properties = prop;
|
||||
}
|
||||
|
||||
if (!prop->is_pending) {
|
||||
if (!prop->is_pending && pScrPriv->rrOutputSetProperty) {
|
||||
/* What should we do in case of failure? */
|
||||
pScrPriv->rrOutputSetProperty(output->pScreen, output,
|
||||
prop->propertyName, prop_value);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue