commit | 806d8c0b781e9702a93b90c366f7bebbd77a4860 | [log] [tgz] |
---|---|---|
author | Rob Bradford <rob@linux.intel.com> | Tue Jun 25 18:56:41 2013 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Jun 25 16:28:04 2013 -0400 |
tree | 6457f178c12cd546ed35ea354368cc2d3f867275 | |
parent | 1d697d7adfa9822dbdd34e93f5f09a300e093a68 [diff] |
input: Add weston_pointer_clamp function to ensure pointer visible This refactors the code out from clip_pointer_motion into a function of its own which can then be used elsewhere to clamp the pointer coordinates to the range of the outputs. This change also makes the caller of clip_pointer_motion use this new function.