New to-do item - configuration
Alexander Gottwald
Alexander.Gottwald@informatik.tu-chemnitz.de
Sun Dec 16 10:14:00 GMT 2001
On Sun, 16 Dec 2001, Alexander Gottwald wrote:
> There are two problems with the server which I can't solve
>
> - There is no automatic redrawing. I only get the current output
> when I move a window over the XWin window and force a redraw
> - SEGFAULT in shadowRemove. The pointer to the second node in
> the screenPriv list points to 0x7e0. Maybe an initialization
> problem.
Think I got the last one. Before calling shadowAdd, we have to init
the shadow layer. See attached diff
bye
ago
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
phone: +49 3725 349 80 80 mobile: +49 172 7854017
4. Chemnitzer Linux-Tag http://www.tu-chemnitz.de/linux/tag/lt4
-------------- next part --------------
--- winscrinit.c.old Sun Dec 16 18:54:34 2001
+++ winscrinit.c Sun Dec 16 18:45:52 2001
@@ -263,6 +263,15 @@
return FALSE;
}
+ /* If we use the shadow code, we need to init it */
+ if (!shadowInit (pScreen,
+ pScreenPriv->pwinShadowUpdate,
+ NULL))
+ {
+ ErrorF ("winFinishScreenInitFB () - shadowInit () failed\n");
+ return FALSE;
+ }
+
/* Not sure what we're adding to shadow, but add it anyway */
if (!shadowAdd (pScreen, 0, pScreenPriv->pwinShadowUpdate, NULL, 0, 0))
{
More information about the Cygwin-xfree
mailing list