(let ((drawing (text-widget-buffer-drawing widget)))
(if (not drawing) (error "No drawing:" widget))
(if (update-drawing screen drawing)
- (begin
- (%trace "; redraw aborted\n")
- #f)
(begin
(update-window widget)
;; un-override?
(if (display-style/discard-screen-contents? display-style)
(gtk-widget-queue-draw widget))
(gdk-window-process-updates (fix-layout-window widget) #f))
- #t)))))))
+ #t)
+ (begin
+ (%trace "; redraw aborted\n")
+ #f)))))))
(define (update-widget-drawing widget)
(%trace "; update-widget-drawing "widget"\n")