Re: Weston under X crashes

2012-10-23 Thread Niklas Hambüchen
ion events > until the pointer is actually inside the output rectangle, and then > synthesize the enter once it really enters and only send motion events > from that point on. > > Kristian > >> [1] >> http://lists.freedesktop.org/archives/wayland-devel/2012-October/

Weston under X crashes

2012-10-23 Thread Niklas Hambüchen
Running src/weston and moving around the weston window with my tiling window manager (i3) while moving the mouse sometimes makes it segfault for me. The patch below seems to fix it for me; what breaks is the line if (!valid && prev != NULL) { if (x < prev->x) in clip_poin