Re: Weston under X crashes

2012-10-24 Thread Kristian Høgsberg
On Wed, Oct 24, 2012 at 9:42 AM, David Herrmann wrote: > Hi > > On Tue, Oct 23, 2012 at 7:49 PM, Kristian Høgsberg > wrote: >> On Tue, Oct 23, 2012 at 05:12:43PM +0100, Niklas Hambüchen wrote: >>> Can we make X Weston test-wise draw some fancy stuff into regions it is >>> forced to fill up in ti

Re: Weston under X crashes

2012-10-24 Thread David Herrmann
Hi On Tue, Oct 23, 2012 at 7:49 PM, Kristian Høgsberg wrote: > On Tue, Oct 23, 2012 at 05:12:43PM +0100, Niklas Hambüchen wrote: >> Can we make X Weston test-wise draw some fancy stuff into regions it is >> forced to fill up in tiling WMs? That would make reproducing this a >> little bit easier.

Re: Weston under X crashes

2012-10-23 Thread Kristian Høgsberg
On Tue, Oct 23, 2012 at 05:12:43PM +0100, Niklas Hambüchen wrote: > Can we make X Weston test-wise draw some fancy stuff into regions it is > forced to fill up in tiling WMs? That would make reproducing this a > little bit easier. I don't really have a good suggestion there, but this patch shoul

Re: Weston under X crashes

2012-10-23 Thread Niklas Hambüchen
Can we make X Weston test-wise draw some fancy stuff into regions it is forced to fill up in tiling WMs? That would make reproducing this a little bit easier. On Tue 23 Oct 2012 15:56:21 BST, Kristian Høgsberg wrote: > On Tue, Oct 23, 2012 at 6:35 AM, John Kåre Alsaker > wrote: >> I also submit

Re: Weston under X crashes

2012-10-23 Thread Kristian Høgsberg
On Tue, Oct 23, 2012 at 6:35 AM, John Kåre Alsaker wrote: > I also submitted a patch for this[1], although Kristian argued that it > wouldn't happen in practice. It probably shouldn't trigger if nothing > happened to the outputs. If just moving the cursor around triggers > this, it may be a bug el

Re: Weston under X crashes

2012-10-23 Thread John Kåre Alsaker
I also submitted a patch for this[1], although Kristian argued that it wouldn't happen in practice. It probably shouldn't trigger if nothing happened to the outputs. If just moving the cursor around triggers this, it may be a bug elsewhere. [1] http://lists.freedesktop.org/archives/wayland-devel/2

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