summaryrefslogtreecommitdiff
path: root/randr/randrstr.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-01-09 14:23:57 +1000
committerDave Airlie <airlied@redhat.com>2013-04-30 10:08:43 +1000
commitf9c8248b8326ad01f33f31531c6b2479baf80f02 (patch)
treeb52d156e54876b5ee618111225638359bceac9d0 /randr/randrstr.h
parent451ba4bd41b82acd4aec6236ba121e00cfeb311b (diff)
randr: don't directly set changed bits in randr screen
Introduce a wrapper interface so we can fix things up for multi-gpu situations later. This just introduces the API for now. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dave Airlie <airlied@redhat.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 25174798f..2babfedd2 100644
--- a/randr/randrstr.h
+++ b/randr/randrstr.h
@@ -486,6 +486,10 @@ extern _X_EXPORT void
RRDeliverScreenEvent(ClientPtr client, WindowPtr pWin, ScreenPtr pScreen);
/* randr.c */
+/* set a screen change on the primary screen */
+extern _X_EXPORT void
+RRSetChanged(ScreenPtr pScreen);
+
/*
* Send all pending events
*/