Mercurial > hg > xemacs-beta
diff src/event-Xt.c @ 82:6a378aca36af r20-0b91
Import from CVS: tag r20-0b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:07:36 +0200 |
parents | 1ce6082ce73f |
children | 4be1180a9e89 |
line wrap: on
line diff
--- a/src/event-Xt.c Mon Aug 13 09:06:45 2007 +0200 +++ b/src/event-Xt.c Mon Aug 13 09:07:36 2007 +0200 @@ -1318,10 +1318,9 @@ break; case VisibilityNotify: /* window visiblity has changed */ - if (event->xvisibility.state == VisibilityUnobscured) - FRAME_X_TOTALLY_VISIBLE_P (f) = 1; - else - FRAME_X_TOTALLY_VISIBLE_P (f) = 0; + if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f))) + FRAME_X_TOTALLY_VISIBLE_P (f) = + (event->xvisibility.state == VisibilityUnobscured); break; case ConfigureNotify: