diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-01 14:44:35 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-01 14:44:35 (GMT) |
commit | 1596c59964f26a44a80bd5b41d519b497cdc6292 (patch) | |
tree | 8bddc4e8fe0d27c1d6e27b3f8c9a90ae1bcd73f6 /src/gui | |
parent | 284c786c04f62a04992e9f62d71c261894856599 (diff) | |
download | Qt-1596c59964f26a44a80bd5b41d519b497cdc6292.zip Qt-1596c59964f26a44a80bd5b41d519b497cdc6292.tar.gz Qt-1596c59964f26a44a80bd5b41d519b497cdc6292.tar.bz2 |
Enable pointer events on native child widgets
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qwidget_s60.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp index c1d7262..48671db 100644 --- a/src/gui/kernel/qwidget_s60.cpp +++ b/src/gui/kernel/qwidget_s60.cpp @@ -406,6 +406,11 @@ void QWidgetPrivate::create_sys(WId window, bool /* initializeWindow */, bool de data.crect.getRect(&x, &y, &w, &h); control->SetRect(TRect(TPoint(x, y), TSize(w, h))); + RDrawableWindow *const drawableWindow = control->DrawableWindow(); + // Request mouse move events. + drawableWindow->PointerFilter(EPointerFilterEnterExit + | EPointerFilterMove | EPointerFilterDrag, 0); + if (q->isVisible() && q->testAttribute(Qt::WA_Mapped)) activateSymbianWindow(); } |