diff options
Diffstat (limited to 'exa')
-rw-r--r-- | exa/exa_priv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exa/exa_priv.h b/exa/exa_priv.h index 5effca506..3c09560c2 100644 --- a/exa/exa_priv.h +++ b/exa/exa_priv.h @@ -137,8 +137,8 @@ extern int exaPixmapPrivateIndex; * pixel values for pDrawable. */ #define EXA_PM_IS_SOLID(_pDrawable, _pm) \ - (((_pm) & ((1 << (_pDrawable)->bitsPerPixel) - 1)) == \ - ((1 << (_pDrawable)->bitsPerPixel) - 1)) + (((_pm) & FbFullMask((_pDrawable)->depth)) == \ + FbFullMask((_pDrawable)->depth)) #define EXA_PIXMAP_SCORE_MOVE_IN 10 #define EXA_PIXMAP_SCORE_MAX 20 |