mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-04 04:50:33 +01:00
properly initialise the optional member
This commit is contained in:
parent
fcebaa8496
commit
1695fa6268
2 changed files with 2 additions and 0 deletions
|
|
@ -3689,6 +3689,7 @@ MakeWindowOptional (WindowPtr pWin)
|
|||
optional->userProps = NULL;
|
||||
optional->backingBitPlanes = ~0L;
|
||||
optional->backingPixel = 0;
|
||||
optional->actualised = 0;
|
||||
#ifdef SHAPE
|
||||
optional->boundingShape = NULL;
|
||||
optional->clipShape = NULL;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
Bool
|
||||
fbCreateWindow(WindowPtr pWin)
|
||||
{
|
||||
MakeWindowOptional(pWin);
|
||||
pWin->optional->actualised = 1;
|
||||
#ifndef FB_NO_WINDOW_PIXMAPS
|
||||
pWin->devPrivates[fbWinPrivateIndex].ptr =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue