summaryrefslogtreecommitdiff
path: root/randr/rrcrtc.c
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/rrcrtc.c
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/rrcrtc.c')
-rw-r--r--randr/rrcrtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index 721b05ac3..2f76b62be 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -39,7 +39,7 @@ RRCrtcChanged(RRCrtcPtr crtc, Bool layoutChanged)
if (pScreen) {
rrScrPriv(pScreen);
- pScrPriv->changed = TRUE;
+ RRSetChanged(pScreen);
/*
* Send ConfigureNotify on any layout change
*/