summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qt_x11_p.h
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@nokia.com>2010-12-15 18:20:14 +0100
committerRobert Griebl <robert.griebl@nokia.com>2010-12-15 18:49:45 +0100
commit82bbc1c1611bde33680d22a1a3c6449e51d7b0b9 (patch)
tree3ce55de7e52498bfe3d3a4bcb19ebabfa64a5a3f /src/gui/kernel/qt_x11_p.h
parent3e0df49f978933b1e4e6b48c695bf813ec9a2828 (diff)
Resolve XRRSizes() from libxrandr for QScroller's DPI calculation.
Reviewed-by: Denis Dzyubenko
Diffstat (limited to 'src/gui/kernel/qt_x11_p.h')
-rw-r--r--src/gui/kernel/qt_x11_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qt_x11_p.h b/src/gui/kernel/qt_x11_p.h
index 56c8094819..d97264ca5f 100644
--- a/src/gui/kernel/qt_x11_p.h
+++ b/src/gui/kernel/qt_x11_p.h
@@ -226,6 +226,7 @@ typedef void (*PtrXRRSelectInput)(Display *, Window, int);
typedef int (*PtrXRRUpdateConfiguration)(XEvent *);
typedef int (*PtrXRRRootToScreen)(Display *, Window);
typedef Bool (*PtrXRRQueryExtension)(Display *, int *, int *);
+typedef XRRScreenSize *(*PtrXRRSizes)(Display *, int, int *);
#endif // QT_NO_XRANDR
#ifndef QT_NO_XINPUT
@@ -710,6 +711,7 @@ struct QX11Data
PtrXRRUpdateConfiguration ptrXRRUpdateConfiguration;
PtrXRRRootToScreen ptrXRRRootToScreen;
PtrXRRQueryExtension ptrXRRQueryExtension;
+ PtrXRRSizes ptrXRRSizes;
#endif // QT_NO_XRANDR
};