diff options
author | Havoc Pennington <hp@pobox.com> | 2009-03-27 12:30:37 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-04-03 11:23:28 -0400 |
commit | 1731882341c191b4ffd78e0c1fd9297c636e0401 (patch) | |
tree | a7a8621004418ebdb44f716618a485623fafdd00 /composite | |
parent | d2690375dfd994817f004cda133ca2a492c0b956 (diff) |
Set bg pixmap of composite overlay window to None (#20912)
Otherwise it's impossible to get the COW without a white
flash on the screen, because it's on top, mapped immediately,
and unaffected by composite redirection. This makes
initial login ugly when it doesn't need to be.
Diffstat (limited to 'composite')
-rw-r--r-- | composite/compoverlay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/composite/compoverlay.c b/composite/compoverlay.c index 94e5b0346..68b4f1288 100644 --- a/composite/compoverlay.c +++ b/composite/compoverlay.c @@ -125,13 +125,13 @@ compCreateOverlayWindow (ScreenPtr pScreen) CompScreenPtr cs = GetCompScreen(pScreen); WindowPtr pRoot = WindowTable[pScreen->myNum]; WindowPtr pWin; - XID overrideRedirect = TRUE; + XID attrs[] = { None, TRUE }; /* backPixmap, overrideRedirect */ int result; pWin = cs->pOverlayWin = CreateWindow (cs->overlayWid, pRoot, 0, 0, pScreen->width, pScreen->height, 0, - InputOutput, CWOverrideRedirect, &overrideRedirect, + InputOutput, CWBackPixmap | CWOverrideRedirect, &attrs[0], pRoot->drawable.depth, serverClient, pScreen->rootVisual, &result); if (pWin == NULL) |