summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorMichal Srb <msrb@suse.com>2013-10-30 13:33:49 +0200
committerKeith Packard <keithp@keithp.com>2013-10-30 08:09:25 -0700
commit4b39ea8a918fe6117bf34dc1cba67a4e56d0d1fb (patch)
treec57c490024a0546dfc9ff6127c711ad95559f87e /randr/randrstr.h
parent1470c0a132806fb2ce817515ad4ddfe66eb7c98f (diff)
randr: send RRProviderChangeNotify event
Send RRProviderChangeNotify event when a provider becomes output source or offload sink. Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Michal Srb <msrb@suse.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r--randr/randrstr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h
index 2babfedd2..c93334938 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -164,6 +164,7 @@ struct _rrProvider {
int nameLength;
RRPropertyPtr properties;
Bool pendingProperties;
+ Bool changed;
struct _rrProvider *offload_sink;
struct _rrProvider *output_source;
};
@@ -923,6 +924,9 @@ RRProviderSetCapabilities(RRProviderPtr provider, uint32_t capabilities);
extern _X_EXPORT Bool
RRProviderLookup(XID id, RRProviderPtr *provider_p);
+extern _X_EXPORT void
+RRDeliverProviderEvent(ClientPtr client, WindowPtr pWin, RRProviderPtr provider);
+
/* rrproviderproperty.c */
extern _X_EXPORT void