From 81d76a835b2f647e3051b1d93606e59db7998d76 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 15 Sep 2014 12:10:55 -0400 Subject: dix: Lower backStorage to a bit instead of a pointer Reviewed-by: Julien Cristau Signed-off-by: Adam Jackson --- composite/compinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'composite') 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; } } -- cgit v1.2.3