summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2009-08-31 17:19:04 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2009-08-31 19:03:43 (GMT)
commita2b2fbbbffa4fa04f47cd8b9e6265e2e61c5e5f3 (patch)
treeb8390e8590219b9dd008fe0b0fadedaf8a0be583 /src/plugins/gfxdrivers/directfb
parent258b9c5d5b1d88a5c19ed1dcfb5fed446006de0d (diff)
downloadQt-a2b2fbbbffa4fa04f47cd8b9e6265e2e61c5e5f3.zip
Qt-a2b2fbbbffa4fa04f47cd8b9e6265e2e61c5e5f3.tar.gz
Qt-a2b2fbbbffa4fa04f47cd8b9e6265e2e61c5e5f3.tar.bz2
Disable event compression when the tablet events are accepted
Since Qt 4.5, all tablet events are compressed not to overload the widgets with the corresponding mouse event (a mouse event is generated if the tablet event is not accepted). This behavior reduce the precision when drawing on a widget that use the tablet events. All tablet events should be sent to the widget that are accepting the tablet event. With this patch, the tablet event are filtered only if the widget ignore the first tablet event. The mouse events are compressed. There is two special cases for the filtering: First, if a tablet event is for another widget than the one ignoring the tablet, this event should not be filtered. Second, if there is a mouse press event, the mouse move event should be sent to the widget that received the mouse press event. Helped-by: Pierre Rossi Reviewed-by: Thomas Zander Reviewed-by: Bradley T. Hughes
Diffstat (limited to 'src/plugins/gfxdrivers/directfb')
0 files changed, 0 insertions, 0 deletions