Re: [PATCH] compositor: fix drag segfault

2011-10-24 Thread Kristian Høgsberg
On Mon, Oct 24, 2011 at 10:34 AM, Pekka Paalanen wrote: > Without this fix, the dnd demo would make the demo compositor crash in > shell.c:drag_offer() because resource->data is NULL. > > Initialise resource->data in shell_create_drag(). Right, thanks. Kristian > Signed-off-by: Pekka Paalanen

[PATCH] compositor: fix drag segfault

2011-10-24 Thread Pekka Paalanen
Without this fix, the dnd demo would make the demo compositor crash in shell.c:drag_offer() because resource->data is NULL. Initialise resource->data in shell_create_drag(). Signed-off-by: Pekka Paalanen --- compositor/shell.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --g