diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-02-08 13:45:09 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-02-08 13:45:09 (GMT) |
commit | 9d808132dbf2de191e3d1ab2a1222e584d7ff1bc (patch) | |
tree | 0da7e7e4e753f2a685ca49f18baf3f8536b34867 /src/plugins/platforms/xcb/qxcbscreen.h | |
parent | 6a4ef30a8f585a3dc20b337eb336ab028c97ddb7 (diff) | |
download | Qt-9d808132dbf2de191e3d1ab2a1222e584d7ff1bc.zip Qt-9d808132dbf2de191e3d1ab2a1222e584d7ff1bc.tar.gz Qt-9d808132dbf2de191e3d1ab2a1222e584d7ff1bc.tar.bz2 |
Made XCB report correct physical size.
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbscreen.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbscreen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbscreen.h b/src/plugins/platforms/xcb/qxcbscreen.h index 88de1a8..abebcd9 100644 --- a/src/plugins/platforms/xcb/qxcbscreen.h +++ b/src/plugins/platforms/xcb/qxcbscreen.h @@ -59,6 +59,7 @@ public: QRect geometry() const; int depth() const; QImage::Format format() const; + QSize physicalSize() const; xcb_screen_t *screen() const { return m_screen; } xcb_window_t root() const { return m_screen->root; } |