diff options
author | Keith Packard <keithp@guitar.keithp.com> | 2006-12-21 23:50:39 -0800 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-01-02 09:18:50 +1100 |
commit | 953a9ef949b4c57d28daeec57031fe1ce368c27c (patch) | |
tree | 90f9649e97dea92572b60b77dd57219d3b8fb2f8 /randr/randrstr.h | |
parent | e79602fca2f2cced66136729cdda4d356b0bdda0 (diff) |
Track physical screen size and send out updates when that changes.
Events and internal data structures need to be updated whenever the physical
or pixel size of the screen changes. The code was ignoring the physical
size, so changing only that would not be registered anywhere.
(cherry picked from f42e3cea236fa0091ed398a818fc8e17b0e1b3df commit)
Diffstat (limited to 'randr/randrstr.h')
-rw-r--r-- | randr/randrstr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/randr/randrstr.h b/randr/randrstr.h index 88f7588ae..136a47e43 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -224,6 +224,7 @@ typedef struct _rrScrPriv { CARD16 minWidth, minHeight; CARD16 maxWidth, maxHeight; CARD16 width, height; /* last known screen size */ + CARD16 mmWidth, mmHeight; /* last known screen size */ int numOutputs; RROutputPtr *outputs; |