(view (fix-layout-view layout)))
(let ((offx (fix-rect-x view))
(offy (fix-rect-y view)))
- (%trace2 ";expose area "width"x"height" "x","y
- " of "layout".\n")
- (drawing-expose drawing layout window
- (make-fix-rect
- (fix:+ x offx) (fix:+ y offy)
- width height)))))
+ (if drawing
+ (begin
+ (%trace2 ";expose area "width"x"height" "x","y
+ " of "layout".\n")
+ (drawing-expose drawing layout window
+ (make-fix-rect
+ (fix:+ x offx) (fix:+ y offy)
+ width height)))
+ (%trace2 ";";expose area "width"x"height" "x","y
+ " of "layout" (no drawing!).\n")))))
(define-method set-gtk-widget-bg-color! ((widget <fix-layout>) color
#!optional state)