Mercurial > hg > xemacs-beta
diff src/frame-x.c @ 102:a145efe76779 r20-1b3
Import from CVS: tag r20-1b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:15:49 +0200 |
parents | c0c698873ce1 |
children | cf808b4c4290 |
line wrap: on
line diff
--- a/src/frame-x.c Mon Aug 13 09:15:13 2007 +0200 +++ b/src/frame-x.c Mon Aug 13 09:15:49 2007 +0200 @@ -2287,9 +2287,19 @@ XtWindow (FRAME_X_SHELL_WIDGET (f)), &xwa)) result = 0; +#ifdef 0 + /* This is wrong. Under XEmacs visible means "Mapped" not really visible. + Under virtual window managers this causes freezes. JV + + Fixme: This might be need to be changed, or another + frame->RealyVisible may need to be added to guide the actual + redisplay. */ else result = xwa.map_state == IsViewable; - + For now this better. +#endif + result = (xwa.map_state != IsUnmapped); + f->visible = result; return result; }