comparison src/event-Xt.c @ 26:441bb1e64a06 r19-15b96

Import from CVS: tag r19-15b96
author cvs
date Mon, 13 Aug 2007 08:51:32 +0200
parents 4103f0995bd7
children 1917ad0d78d7
comparison
equal deleted inserted replaced
25:383a494979f8 26:441bb1e64a06
1219 case ClientMessage: 1219 case ClientMessage:
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 0 /* This causes all kinds of strange behavior I don't like. -sb */
1225 { 1225 {
1226 /* Note that the fvwm pager only sends VisibilityNotify when 1226 /* Note that the fvwm pager only sends VisibilityNotify when
1227 changing pages. Is this all we need to do ? JV */ 1227 changing pages. Is this all we need to do ? JV */
1228 FRAME_VISIBLE_P (f) = 1228 FRAME_VISIBLE_P (f) =
1229 ( event->xvisibility.state != VisibilityFullyObscured); 1229 ( event->xvisibility.state != VisibilityFullyObscured);
1230 FRAME_X_TOTALLY_VISIBLE_P (f) = 1230 FRAME_X_TOTALLY_VISIBLE_P (f) =
1231 (event->xvisibility.state == VisibilityUnobscured); 1231 (event->xvisibility.state == VisibilityUnobscured);
1232 } 1232 }
1233 #else
1234 FRAME_X_TOTALLY_VISIBLE_P (f) =
1235 (event->xvisibility.state == VisibilityUnobscured);
1236 #endif
1233 break; 1237 break;
1234 1238
1235 case ConfigureNotify: 1239 case ConfigureNotify:
1236 #ifdef HAVE_XIM 1240 #ifdef HAVE_XIM
1237 XIM_SetGeometry (f); 1241 XIM_SetGeometry (f);