summaryrefslogtreecommitdiff
path: root/composite/compinit.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-09-15 12:10:55 -0400
committerAdam Jackson <ajax@redhat.com>2014-10-09 11:14:53 +0200
commit81d76a835b2f647e3051b1d93606e59db7998d76 (patch)
treed8681e80a1d712c68d94b47d814c6a88b780be1f /composite/compinit.c
parent322ba42c23a3a107f7a62fb1c449792b616e5eba (diff)
dix: Lower backStorage to a bit instead of a pointer
Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'composite/compinit.c')
-rw-r--r--composite/compinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/composite/compinit.c b/composite/compinit.c
index 48e938fac..111c16e5d 100644
--- a/composite/compinit.c
+++ b/composite/compinit.c
@@ -119,12 +119,12 @@ compChangeWindowAttributes(WindowPtr pWin, unsigned long mask)
pScreen->backingStoreSupport != NotUseful) {
if (pWin->backingStore != NotUseful && !pWin->backStorage) {
compRedirectWindow(serverClient, pWin, CompositeRedirectAutomatic);
- pWin->backStorage = (void *) (intptr_t) 1;
+ pWin->backStorage = TRUE;
}
else if (pWin->backingStore == NotUseful && pWin->backStorage) {
compUnredirectWindow(serverClient, pWin,
CompositeRedirectAutomatic);
- pWin->backStorage = NULL;
+ pWin->backStorage = FALSE;
}
}