[PATCH 34/37] composite: Keep the window pixmap at unmap for backing store Always
Adam Jackson
ajax at redhat.com
Wed Oct 8 08:04:58 PDT 2014
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
composite/compwindow.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/composite/compwindow.c b/composite/compwindow.c
index 9a6b2da..efb9c9e 100644
--- a/composite/compwindow.c
+++ b/composite/compwindow.c
@@ -150,8 +150,10 @@ compCheckRedirect(WindowPtr pWin)
CompScreenPtr cs = GetCompScreen(pWin->drawable.pScreen);
Bool should;
- should = pWin->realized && (pWin->drawable.class != InputOnly) &&
- (cw != NULL) && (pWin->parent != NULL);
+ should = (pWin->realized || pWin->backingStore == Always) &&
+ (pWin->drawable.class != InputOnly) &&
+ (cw != NULL) &&
+ (pWin->parent != NULL);
/* Never redirect the overlay window */
if (cs->pOverlayWin != NULL) {
--
1.9.3
More information about the xorg-devel
mailing list