Re: [PATCH weston] compositor: Bail out if prev is NULL in clip_pointer_motion()

2012-05-14 Thread Kristian Høgsberg
On Sun, May 13, 2012 at 12:45:12AM -0600, Scott Moreau wrote: > We can hit this case if both the preceding calls to > pixman_region32_contains_point() return false. When would this happen? Monitor hot-unplug? If the cursor can get outside any output except hot-unplug, we need to fix that, not pa

[PATCH weston] compositor: Bail out if prev is NULL in clip_pointer_motion()

2012-05-12 Thread Scott Moreau
We can hit this case if both the preceding calls to pixman_region32_contains_point() return false. --- src/compositor.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/compositor.c b/src/compositor.c index e0e0bee..dc878ad 100644 --- a/src/compositor.c +++ b/src/co