(invalidate-all-drawings! screen)
(%trace "; (update-screen! <gtk-screen>) done: no-output\n")
'NO-OUTPUT)
- ((eq? (screen-visibility screen) 'OBSCURED)
- (update-name screen)
- (invalidate-all-drawings! screen)
- (%trace "; (update-screen! <gtk-screen>) done: completely obscured\n")
- 'INVISIBLE)
+ ((not (memq (screen-visibility screen) '(VISIBLE PARTIALLY-OBSCURED)))
+ (let ((visibility (screen-visibility screen)))
+ (if (not (eq? visibility 'DELETED))
+ (update-name screen))
+ (invalidate-all-drawings! screen)
+ (%trace "; (update-screen! <gtk-screen>) done: "visibility"\n")
+ visibility))
(else
(update-name screen)
(update-widgets screen)