From 0623d832c70dee2e9027cb5590f5ce5d486f023a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Fri, 26 Apr 2013 13:03:15 +0200 Subject: xcb: fallback to gtk cursor themes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When Xcursor LoadCursor fails to find a cursor Task-number: QTBUG-27537 Change-Id: I46086c78c3d5bea3c39187dcc55b4774e58f5749 Reviewed-by: Samuel Rødal --- src/plugins/platforms/xcb/qxcbcursor.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/plugins/platforms/xcb/qxcbcursor.h') diff --git a/src/plugins/platforms/xcb/qxcbcursor.h b/src/plugins/platforms/xcb/qxcbcursor.h index 4bbb99e802..081300868c 100644 --- a/src/plugins/platforms/xcb/qxcbcursor.h +++ b/src/plugins/platforms/xcb/qxcbcursor.h @@ -72,6 +72,13 @@ private: QMap m_shapeCursorMap; QMap m_bitmapCursorMap; #endif +#ifdef XCB_USE_XLIB + static void cursorThemePropertyChanged(QXcbScreen *screen, + const QByteArray &name, + const QVariant &property, + void *handle); +#endif + bool m_gtkCursorThemeInitialized; }; QT_END_NAMESPACE -- cgit v1.2.3