diff options
author | Adam Jackson <ajax@redhat.com> | 2014-09-15 12:10:55 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2014-10-09 11:14:53 +0200 |
commit | 81d76a835b2f647e3051b1d93606e59db7998d76 (patch) | |
tree | d8681e80a1d712c68d94b47d814c6a88b780be1f /composite/compinit.c | |
parent | 322ba42c23a3a107f7a62fb1c449792b616e5eba (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.c | 4 |
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; } } |