Re: [PATCH weston v4 16/20] input: Support non-rectangular pointer confine regions

2016-04-27 Thread Pekka Paalanen
On Tue, 17 Nov 2015 18:11:02 +0800 Jonas Ådahl wrote: > This patch adds support for when the resulting pointer confinement region > is not a rectangle. > > Support for this is implemented by converting the rectangles of the > region into the regions outer border. Pointer motions are then clamped

[PATCH weston v4 16/20] input: Support non-rectangular pointer confine regions

2015-11-17 Thread Jonas Ådahl
This patch adds support for when the resulting pointer confinement region is not a rectangle. Support for this is implemented by converting the rectangles of the region into the regions outer border. Pointer motions are then clamped to these borders in order to not escape the confinement region.