comparison 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
comparison
equal deleted inserted replaced
23:0edd3412f124 24:4103f0995bd7
1220 handle_client_message (f, event); 1220 handle_client_message (f, event);
1221 break; 1221 break;
1222 1222
1223 case VisibilityNotify: /* window visiblity has changed */ 1223 case VisibilityNotify: /* window visiblity has changed */
1224 if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f))) 1224 if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f)))
1225 FRAME_X_TOTALLY_VISIBLE_P (f) = 1225 {
1226 (event->xvisibility.state == VisibilityUnobscured); 1226 /* Note that the fvwm pager only sends VisibilityNotify when
1227 changing pages. Is this all we need to do ? JV */
1228 FRAME_VISIBLE_P (f) =
1229 ( event->xvisibility.state != VisibilityFullyObscured);
1230 FRAME_X_TOTALLY_VISIBLE_P (f) =
1231 (event->xvisibility.state == VisibilityUnobscured);
1232 }
1227 break; 1233 break;
1228 1234
1229 case ConfigureNotify: 1235 case ConfigureNotify:
1230 #ifdef HAVE_XIM 1236 #ifdef HAVE_XIM
1231 XIM_SetGeometry (f); 1237 XIM_SetGeometry (f);