diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-19 11:49:32 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-21 12:52:12 (GMT) |
commit | 09878f0d63000a2920458884d5ae0d765939395e (patch) | |
tree | 323842d2191425d8bad31b773a465ecd1c372b3d /doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp | |
parent | e866577453334f528fdf289ab825af1911586e47 (diff) | |
download | Qt-09878f0d63000a2920458884d5ae0d765939395e.zip Qt-09878f0d63000a2920458884d5ae0d765939395e.tar.gz Qt-09878f0d63000a2920458884d5ae0d765939395e.tar.bz2 |
Dont create native windows when setting up gestures.
The code used to create native window handle even before checking if the widget
subscribes to gestures, basically breaking alien widgets. Check the position of
the gesture instead when the WM_GESTURE message is received in the GID_BEGIN
state. This will work properly in most cases - but not always as the position
that we get with the WM_GESTURE message is the center point of the multitouch
gesture, which might be outside of the widget depending on positions of
fingers.
Reviewed-by: trustme
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglpixelbuffer.cpp')
0 files changed, 0 insertions, 0 deletions