diff options
Diffstat (limited to 'xorg-server/composite/compoverlay.c')
-rw-r--r-- | xorg-server/composite/compoverlay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/composite/compoverlay.c b/xorg-server/composite/compoverlay.c index 5846c34c5..e43c529e6 100644 --- a/xorg-server/composite/compoverlay.c +++ b/xorg-server/composite/compoverlay.c @@ -128,7 +128,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;
|