diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-08-10 09:21:48 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-08-10 09:23:37 (GMT) |
commit | 167b333e2c428947264f283f6eec275b27f8f0db (patch) | |
tree | 835ec59dd3fc394799e29ff55cc6a3f3f6858d67 /src/gui/painting/qwindowsurface_p.h | |
parent | 89f0156b21b4cff8fec0cee283d75f413cf36c61 (diff) | |
download | Qt-167b333e2c428947264f283f6eec275b27f8f0db.zip Qt-167b333e2c428947264f283f6eec275b27f8f0db.tar.gz Qt-167b333e2c428947264f283f6eec275b27f8f0db.tar.bz2 |
Fix default QWidget size on X servers with Xinerama
The default widget size is normally calculated from the root window size, but when running on an X server with Xinerama enabled, the root window spans all screens, making the widget far to large.
Use the default screen's size instead to give the widget a size that
should fit on a single screen.
Diffstat (limited to 'src/gui/painting/qwindowsurface_p.h')
0 files changed, 0 insertions, 0 deletions