diff options
author | Keith Packard <keithp@guitar.keithp.com> | 2006-12-12 22:59:03 -0800 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-12-15 18:32:18 +1100 |
commit | 628c7daeb12713d28e85e6b49fa037a7748dff83 (patch) | |
tree | 13f7168a314fdb9ba508766816962f624217b730 /randr/rrinfo.c | |
parent | d742025f435f3eb7458cf8284d59300bc9a850aa (diff) |
RandR: config time updates when hardware config changes.
The config time in the RandR protocol reflects when the hardware state has
changed. It was getting changed anytime the driver changed the usage
of the hardware as well.
(cherry picked from 98d18a6578130adb411ca4bcc776fcb7e07f189f commit)
Diffstat (limited to 'randr/rrinfo.c')
-rw-r--r-- | randr/rrinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/randr/rrinfo.c b/randr/rrinfo.c index 244b089f3..85426f654 100644 --- a/randr/rrinfo.c +++ b/randr/rrinfo.c @@ -69,6 +69,7 @@ RROldModeAdd (RROutputPtr output, RRScreenSizePtr size, int refresh) output->modes = modes; output->changed = TRUE; pScrPriv->changed = TRUE; + pScrPriv->configChanged = TRUE; return mode; } @@ -205,6 +206,7 @@ RRGetInfo (ScreenPtr pScreen) rotations = 0; pScrPriv->changed = FALSE; + pScrPriv->configChanged = FALSE; if (!(*pScrPriv->rrGetInfo) (pScreen, &rotations)) return FALSE; |