Mercurial > hg > xemacs-beta
diff src/event-Xt.c @ 102:a145efe76779 r20-1b3
Import from CVS: tag r20-1b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:15:49 +0200 |
parents | 4be1180a9e89 |
children | cf808b4c4290 |
line wrap: on
line diff
--- a/src/event-Xt.c Mon Aug 13 09:15:13 2007 +0200 +++ b/src/event-Xt.c Mon Aug 13 09:15:49 2007 +0200 @@ -1331,19 +1331,19 @@ case VisibilityNotify: /* window visiblity has changed */ if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f))) + { #if 0 /* This causes all kinds of strange behavior I don't like. -sb */ - { /* Note that the fvwm pager only sends VisibilityNotify when changing pages. Is this all we need to do ? JV */ FRAME_VISIBLE_P (f) = ( event->xvisibility.state != VisibilityFullyObscured); +/* #else */ + FRAME_VISIBLE_P (f) && (FRAME_VISIBLE_P (f) = + ( event->xvisibility.state != VisibilityFullyObscured)); +#endif FRAME_X_TOTALLY_VISIBLE_P (f) = (event->xvisibility.state == VisibilityUnobscured); } -#else - FRAME_X_TOTALLY_VISIBLE_P (f) = - (event->xvisibility.state == VisibilityUnobscured); -#endif break; case ConfigureNotify: