comparison src/xterm.c @ 39922:538760a4422e

(xlwmenu_window_p, xlwmenu_redisplay): Add prototypes. (XTread_socket): Improve style of comments to follow other comments.
author Pavel Janík <Pavel@Janik.cz>
date Sun, 14 Oct 2001 16:08:48 +0000
parents 91951fb5b9e5
children df00f7799bb7
comparison
equal deleted inserted replaced
39921:39e32efe460d 39922:538760a4422e
94 #ifdef HAVE_SYS_TIME_H 94 #ifdef HAVE_SYS_TIME_H
95 #include <sys/time.h> 95 #include <sys/time.h>
96 #endif 96 #endif
97 #ifdef HAVE_UNISTD_H 97 #ifdef HAVE_UNISTD_H
98 #include <unistd.h> 98 #include <unistd.h>
99 #endif
100
101 #ifdef USE_LUCID
102 extern int xlwmenu_window_p (Widget w, Window window);
103 extern void xlwmenu_redisplay P_ ((Widget));
99 #endif 104 #endif
100 105
101 #ifdef USE_X_TOOLKIT 106 #ifdef USE_X_TOOLKIT
102 107
103 extern void free_frame_menubar P_ ((struct frame *)); 108 extern void free_frame_menubar P_ ((struct frame *));
10313 #endif /* not USE_TOOLKIT_SCROLL_BARS */ 10318 #endif /* not USE_TOOLKIT_SCROLL_BARS */
10314 } 10319 }
10315 break; 10320 break;
10316 10321
10317 case GraphicsExpose: /* This occurs when an XCopyArea's 10322 case GraphicsExpose: /* This occurs when an XCopyArea's
10318 source area was obscured or not 10323 source area was obscured or not
10319 available.*/ 10324 available. */
10320 f = x_window_to_frame (dpyinfo, event.xgraphicsexpose.drawable); 10325 f = x_window_to_frame (dpyinfo, event.xgraphicsexpose.drawable);
10321 if (f) 10326 if (f)
10322 { 10327 {
10323 expose_frame (f, 10328 expose_frame (f,
10324 event.xgraphicsexpose.x, event.xgraphicsexpose.y, 10329 event.xgraphicsexpose.x, event.xgraphicsexpose.y,
10331 #endif /* USE_X_TOOLKIT */ 10336 #endif /* USE_X_TOOLKIT */
10332 break; 10337 break;
10333 10338
10334 case NoExpose: /* This occurs when an XCopyArea's 10339 case NoExpose: /* This occurs when an XCopyArea's
10335 source area was completely 10340 source area was completely
10336 available */ 10341 available. */
10337 break; 10342 break;
10338 10343
10339 case UnmapNotify: 10344 case UnmapNotify:
10340 /* Redo the mouse-highlight after the tooltip has gone. */ 10345 /* Redo the mouse-highlight after the tooltip has gone. */
10341 if (event.xmap.window == tip_window) 10346 if (event.xmap.window == tip_window)
10344 redo_mouse_highlight (); 10349 redo_mouse_highlight ();
10345 } 10350 }
10346 10351
10347 f = x_top_window_to_frame (dpyinfo, event.xunmap.window); 10352 f = x_top_window_to_frame (dpyinfo, event.xunmap.window);
10348 if (f) /* F may no longer exist if 10353 if (f) /* F may no longer exist if
10349 the frame was deleted. */ 10354 the frame was deleted. */
10350 { 10355 {
10351 /* While a frame is unmapped, display generation is 10356 /* While a frame is unmapped, display generation is
10352 disabled; you don't want to spend time updating a 10357 disabled; you don't want to spend time updating a
10353 display that won't ever be seen. */ 10358 display that won't ever be seen. */
10354 f->async_visible = 0; 10359 f->async_visible = 0;