aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/composite/compoverlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/composite/compoverlay.c')
-rw-r--r--xorg-server/composite/compoverlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/composite/compoverlay.c b/xorg-server/composite/compoverlay.c
index 453259e92..6a5b01dfb 100644
--- a/xorg-server/composite/compoverlay.c
+++ b/xorg-server/composite/compoverlay.c
@@ -124,7 +124,7 @@ Bool
compCreateOverlayWindow (ScreenPtr pScreen)
{
CompScreenPtr cs = GetCompScreen(pScreen);
- WindowPtr pRoot = WindowTable[pScreen->myNum];
+ WindowPtr pRoot = pScreen->root;
WindowPtr pWin;
XID attrs[] = { None, TRUE }; /* backPixmap, overrideRedirect */
int result;