Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
101:a0ec055d74dd | 102:a145efe76779 |
---|---|
1329 handle_client_message (f, event); | 1329 handle_client_message (f, event); |
1330 break; | 1330 break; |
1331 | 1331 |
1332 case VisibilityNotify: /* window visiblity has changed */ | 1332 case VisibilityNotify: /* window visiblity has changed */ |
1333 if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f))) | 1333 if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f))) |
1334 { | |
1334 #if 0 /* This causes all kinds of strange behavior I don't like. -sb */ | 1335 #if 0 /* This causes all kinds of strange behavior I don't like. -sb */ |
1335 { | |
1336 /* Note that the fvwm pager only sends VisibilityNotify when | 1336 /* Note that the fvwm pager only sends VisibilityNotify when |
1337 changing pages. Is this all we need to do ? JV */ | 1337 changing pages. Is this all we need to do ? JV */ |
1338 FRAME_VISIBLE_P (f) = | 1338 FRAME_VISIBLE_P (f) = |
1339 ( event->xvisibility.state != VisibilityFullyObscured); | 1339 ( event->xvisibility.state != VisibilityFullyObscured); |
1340 /* #else */ | |
1341 FRAME_VISIBLE_P (f) && (FRAME_VISIBLE_P (f) = | |
1342 ( event->xvisibility.state != VisibilityFullyObscured)); | |
1343 #endif | |
1340 FRAME_X_TOTALLY_VISIBLE_P (f) = | 1344 FRAME_X_TOTALLY_VISIBLE_P (f) = |
1341 (event->xvisibility.state == VisibilityUnobscured); | 1345 (event->xvisibility.state == VisibilityUnobscured); |
1342 } | 1346 } |
1343 #else | |
1344 FRAME_X_TOTALLY_VISIBLE_P (f) = | |
1345 (event->xvisibility.state == VisibilityUnobscured); | |
1346 #endif | |
1347 break; | 1347 break; |
1348 | 1348 |
1349 case ConfigureNotify: | 1349 case ConfigureNotify: |
1350 #ifdef HAVE_XIM | 1350 #ifdef HAVE_XIM |
1351 XIM_SetGeometry (f); | 1351 XIM_SetGeometry (f); |