Mercurial > hg > xemacs-beta
comparison src/event-Xt.c @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | 9ee227acff29 |
children | 859a2309aef8 |
comparison
equal
deleted
inserted
replaced
15:ad457d5f7d04 | 16:0293115a14e9 |
---|---|
1259 case ClientMessage: | 1259 case ClientMessage: |
1260 handle_client_message (f, event); | 1260 handle_client_message (f, event); |
1261 break; | 1261 break; |
1262 | 1262 |
1263 case VisibilityNotify: /* window visiblity has changed */ | 1263 case VisibilityNotify: /* window visiblity has changed */ |
1264 if (event->xvisibility.state == VisibilityUnobscured) | 1264 if (event->xvisibility.window == XtWindow (FRAME_X_SHELL_WIDGET (f))) |
1265 FRAME_X_TOTALLY_VISIBLE_P (f) = 1; | 1265 FRAME_X_TOTALLY_VISIBLE_P (f) = |
1266 else | 1266 (event->xvisibility.state == VisibilityUnobscured); |
1267 FRAME_X_TOTALLY_VISIBLE_P (f) = 0; | 1267 break; |
1268 break; | |
1269 | 1268 |
1270 case ConfigureNotify: | 1269 case ConfigureNotify: |
1271 #ifdef HAVE_XIM | 1270 #ifdef HAVE_XIM |
1272 XIC_SetGeometry (f); | 1271 XIC_SetGeometry (f); |
1273 #endif | 1272 #endif |
1700 f = x_any_window_to_frame (get_device_from_display (display), window); | 1699 f = x_any_window_to_frame (get_device_from_display (display), window); |
1701 if (f) { | 1700 if (f) { |
1702 char buf[500]; | 1701 char buf[500]; |
1703 sprintf (buf, " \"%s\"", XSTRING_DATA (f->name)); | 1702 sprintf (buf, " \"%s\"", XSTRING_DATA (f->name)); |
1704 write_string_to_stdio_stream (stderr, 0, (Bufbyte *) buf, 0, strlen (buf), | 1703 write_string_to_stdio_stream (stderr, 0, (Bufbyte *) buf, 0, strlen (buf), |
1705 FORMAT_DISPLAY); | 1704 FORMAT_TERMINAL); |
1706 } | 1705 } |
1707 stderr_out ("\n"); | 1706 stderr_out ("\n"); |
1708 } | 1707 } |
1709 | 1708 |
1710 static CONST char * | 1709 static CONST char * |