Made the evdev mouse plugin clamp coordinates to screen.
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 16 Apr 2012 15:36:03 +0000 (17:36 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 16 Apr 2012 15:49:55 +0000 (17:49 +0200)
commit1afff0e5fae90eaa6d7d95055d56969a29f068af
treec8d7493cb36854c50efb8dc3660944b034a611d7
parent44be58226e2fae82c9e8b9b21ccbd53e396c333e
Made the evdev mouse plugin clamp coordinates to screen.

Useful when we get relative events, as otherwise the mouse might end up
far outside the screen boundaries.

Change-Id: I8e3884ab2acb03eaa6afce8926f503dbd03b0c5d
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
src/plugins/generic/evdevmouse/qevdevmousehandler.cpp
src/plugins/generic/evdevmouse/qevdevmousehandler.h