summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@guitar.keithp.com>2007-03-23 01:05:55 -0700
committerKeith Packard <keithp@guitar.keithp.com>2007-03-23 01:32:34 -0700
commit7093367c3976bef5b9d219d9f2a7dc7dd3eeb091 (patch)
treedbfbf45aed8820492bb8152845b4d35155bdab4d /randr/randrstr.h
parent86d76390eb182f271f5fa5dc19205e97a867f7e7 (diff)
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)
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 0dee99921..9f039f747 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -761,10 +761,13 @@ RRQueryOutputProperty (RROutputPtr output, Atom property);
void
RRDeleteOutputProperty (RROutputPtr output, Atom property);
+Bool
+RRPostPendingProperty (RROutputPtr output, Atom property);
+
int
RRChangeOutputProperty (RROutputPtr output, Atom property, Atom type,
int format, int mode, unsigned long len,
- pointer value, Bool sendevent);
+ pointer value, Bool sendevent, Bool pending);
int
RRConfigureOutputProperty (RROutputPtr output, Atom property,