summaryrefslogtreecommitdiff
path: root/xserver/dix/gc.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2024-11-05 08:13:07 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2024-11-05 08:13:07 +0000
commit3ced31dfa7da11653ae880c2776cbf2e2256a009 (patch)
tree981ca5d9ba5a6d1f1cf8b8685faf120dd8c5c96c /xserver/dix/gc.c
parent939fde46a015afeec2b96b5cb6d0cc8aefe54c3d (diff)
Update to xserver 21.1.14. tested by tb@
The xkb security fix was committed earlier. This is the rest of the 21.1.14 update.
Diffstat (limited to 'xserver/dix/gc.c')
-rw-r--r--xserver/dix/gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xserver/dix/gc.c b/xserver/dix/gc.c
index 4ccbd3b54..0e5de5bd4 100644
--- a/xserver/dix/gc.c
+++ b/xserver/dix/gc.c
@@ -811,7 +811,8 @@ CreateScratchGC(ScreenPtr pScreen, unsigned depth)
FreeGC(pGC, (XID) 0);
pGC = (GCPtr) NULL;
}
- pGC->graphicsExposures = FALSE;
+ else
+ pGC->graphicsExposures = FALSE;
return pGC;
}