summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fb/fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fb.h b/fb/fb.h
index 7d1e443dd..8ab050d0f 100644
--- a/fb/fb.h
+++ b/fb/fb.h
@@ -494,7 +494,7 @@ typedef struct {
*/
#define fbWindowEnabled(pWin) \
- RegionNotEmpty(&(pWin)->drawable.pScreen->root->borderClip)
+ RegionNotEmpty(&(pWin)->borderClip)
#define fbDrawableEnabled(pDrawable) \
((pDrawable)->type == DRAWABLE_PIXMAP ? \