summaryrefslogtreecommitdiff
path: root/miext/rootless/rootlessWindow.c
diff options
context:
space:
mode:
authorBen Byer <bbyer@bbyer.local>2007-11-15 00:56:54 -0800
committerJeremy Huddleston <jeremy@tifa.local>2007-11-21 23:18:34 -0800
commit74214a9f42b931f99d83ddb4efb3720881a2de16 (patch)
tree2ee8e383a1a24cc8073f893f01e48e22824dd063 /miext/rootless/rootlessWindow.c
parentf5f833b80609f1f98c93113183bd2b1bab3bfec9 (diff)
Darwin: Patch to avert (some) damage / rootless crashes, courtesy of Ken Thomases
(cherry picked from commit 148a87ff20aa5e7a6d839610aa14fa1a31505c4a)
Diffstat (limited to 'miext/rootless/rootlessWindow.c')
-rw-r--r--miext/rootless/rootlessWindow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c
index 3074a3fc5..14bc67452 100644
--- a/miext/rootless/rootlessWindow.c
+++ b/miext/rootless/rootlessWindow.c
@@ -198,6 +198,7 @@ RootlessCreateWindow(WindowPtr pWin)
RegionRec saveRoot;
WINREC(pWin) = NULL;
+ pWin->devPrivates[rootlessWindowOldPixmapPrivateIndex].ptr = NULL;
SCREEN_UNWRAP(pWin->drawable.pScreen, CreateWindow);