When opening multiple displays I noticed the program
crashed in next circumstances:
- A display (XWindow actually) is partialy overlaped
behind another, showing the upper-left corner with the
windows manager minimize/maximize/close buttons.
- We close the partialy overlaped display presing the
windows manager "close window" button in the
upper-left corner.
- The program crashed with an "Segmentation Fault
Signal 11".
"GDBugging" the program I have solved the problem
modifying the clip_region_clear function in
app/display.c:
static void
clip_region_clear(RendererGdk *renderer)
{
/*NEXT LINE ADDED TO SOLVE BUG*/
+ if(renderer->ddisp->canvas->window == NULL) return;
if (renderer->clip_region != NULL)
gdk_region_destroy(renderer->clip_region);
...
...
}
It happens that the Windows Manager liberates the
XWindow associated to the canvas when pressing the
close button.
(Note: I use Sawfish WM)
_______________________________________________________________
Do You Yahoo!?
Envía mensajes instantáneos y recibe alertas de correo con
Yahoo! Messenger - http://messenger.yahoo.es