Mercurial > hg > xemacs-beta
diff src/event-Xt.c @ 24:4103f0995bd7 r19-15b95
Import from CVS: tag r19-15b95
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:51:03 +0200 |
parents | 8fc7fe29b841 |
children | 441bb1e64a06 |
line wrap: on
line diff
--- a/src/event-Xt.c Mon Aug 13 08:50:31 2007 +0200 +++ b/src/event-Xt.c Mon Aug 13 08:51:03 2007 +0200 @@ -1222,8 +1222,14 @@ case VisibilityNotify: /* window visiblity has changed */ if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f))) - FRAME_X_TOTALLY_VISIBLE_P (f) = - (event->xvisibility.state == VisibilityUnobscured); + { + /* 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); + FRAME_X_TOTALLY_VISIBLE_P (f) = + (event->xvisibility.state == VisibilityUnobscured); + } break; case ConfigureNotify: