diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-31 19:21:03 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-08-31 19:27:55 (GMT) |
commit | 9e652a18780aece1c5a8f12209747274a37bf91c (patch) | |
tree | e9732fa7bf6b09ec67c4d5e41209830acee81a15 /src/plugins/gfxdrivers/directfb/qdirectfbscreen.h | |
parent | a2b2fbbbffa4fa04f47cd8b9e6265e2e61c5e5f3 (diff) | |
download | Qt-9e652a18780aece1c5a8f12209747274a37bf91c.zip Qt-9e652a18780aece1c5a8f12209747274a37bf91c.tar.gz Qt-9e652a18780aece1c5a8f12209747274a37bf91c.tar.bz2 |
Make cursor work in non-windowed mode
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbscreen.h')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbscreen.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h index 14fde86..e74adb1 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h +++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.h @@ -87,6 +87,16 @@ QT_MODULE(Gui) #if !defined QT_NO_DIRECTFB_OPAQUE_DETECTION && !defined QT_DIRECTFB_OPAQUE_DETECTION #define QT_DIRECTFB_OPAQUE_DETECTION #endif +#ifndef QT_NO_QWS_CURSOR +#if defined QT_DIRECTFB_WM && defined QT_DIRECTFB_WINDOW_AS_CURSOR +#define QT_DIRECTFB_CURSOR +#elif defined QT_DIRECTFB_LAYER +#define QT_DIRECTFB_CURSOR +#endif +#endif +#ifndef QT_DIRECTFB_CURSOR +#define QT_NO_DIRECTFB_CURSOR +#endif #if defined QT_NO_DIRECTFB_LAYER && defined QT_DIRECTFB_WM #error QT_NO_DIRECTFB_LAYER requires QT_NO_DIRECTFB_WM #endif |