Mercurial > hg > xemacs-beta
comparison src/frame-x.c @ 104:cf808b4c4290 r20-1b4
Import from CVS: tag r20-1b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:16:51 +0200 |
parents | a145efe76779 |
children | 360340f9fd5f |
comparison
equal
deleted
inserted
replaced
103:30eda07fe280 | 104:cf808b4c4290 |
---|---|
2285 | 2285 |
2286 if (!XGetWindowAttributes (display, | 2286 if (!XGetWindowAttributes (display, |
2287 XtWindow (FRAME_X_SHELL_WIDGET (f)), | 2287 XtWindow (FRAME_X_SHELL_WIDGET (f)), |
2288 &xwa)) | 2288 &xwa)) |
2289 result = 0; | 2289 result = 0; |
2290 #ifdef 0 | |
2291 /* This is wrong. Under XEmacs visible means "Mapped" not really visible. | |
2292 Under virtual window managers this causes freezes. JV | |
2293 | |
2294 Fixme: This might be need to be changed, or another | |
2295 frame->RealyVisible may need to be added to guide the actual | |
2296 redisplay. */ | |
2297 else | 2290 else |
2298 result = xwa.map_state == IsViewable; | 2291 result = xwa.map_state == IsViewable; |
2299 For now this better. | |
2300 #endif | |
2301 result = (xwa.map_state != IsUnmapped); | |
2302 | 2292 |
2303 f->visible = result; | 2293 f->visible = result; |
2304 return result; | 2294 return result; |
2305 } | 2295 } |
2306 | 2296 |