Commit d624284c authored by Pavel Janík's avatar Pavel Janík

(xlwmenu_window_p, xlwmenu_redisplay): Add prototypes.

(XTread_socket): Improve style of comments to follow other comments.
parent a87414f9
2001-10-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 2001-10-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
* xterm.c: (xlwmenu_window_p, xlwmenu_redisplay): Add prototypes.
(XTread_socket): Improve style of comments to follow other
comments.
* keyboard.c (Fcommand_execute): Remove unnecessary prototype (it * keyboard.c (Fcommand_execute): Remove unnecessary prototype (it
is already prototyped in included lisp.h). is already prototyped in included lisp.h).
......
...@@ -98,6 +98,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -98,6 +98,11 @@ Boston, MA 02111-1307, USA. */
#include <unistd.h> #include <unistd.h>
#endif #endif
#ifdef USE_LUCID
extern int xlwmenu_window_p (Widget w, Window window);
extern void xlwmenu_redisplay P_ ((Widget));
#endif
#ifdef USE_X_TOOLKIT #ifdef USE_X_TOOLKIT
extern void free_frame_menubar P_ ((struct frame *)); extern void free_frame_menubar P_ ((struct frame *));
...@@ -10315,8 +10320,8 @@ XTread_socket (sd, bufp, numchars, expected) ...@@ -10315,8 +10320,8 @@ XTread_socket (sd, bufp, numchars, expected)
break; break;
case GraphicsExpose: /* This occurs when an XCopyArea's case GraphicsExpose: /* This occurs when an XCopyArea's
source area was obscured or not source area was obscured or not
available.*/ available. */
f = x_window_to_frame (dpyinfo, event.xgraphicsexpose.drawable); f = x_window_to_frame (dpyinfo, event.xgraphicsexpose.drawable);
if (f) if (f)
{ {
...@@ -10333,7 +10338,7 @@ XTread_socket (sd, bufp, numchars, expected) ...@@ -10333,7 +10338,7 @@ XTread_socket (sd, bufp, numchars, expected)
case NoExpose: /* This occurs when an XCopyArea's case NoExpose: /* This occurs when an XCopyArea's
source area was completely source area was completely
available */ available. */
break; break;
case UnmapNotify: case UnmapNotify:
...@@ -10346,7 +10351,7 @@ XTread_socket (sd, bufp, numchars, expected) ...@@ -10346,7 +10351,7 @@ XTread_socket (sd, bufp, numchars, expected)
f = x_top_window_to_frame (dpyinfo, event.xunmap.window); f = x_top_window_to_frame (dpyinfo, event.xunmap.window);
if (f) /* F may no longer exist if if (f) /* F may no longer exist if
the frame was deleted. */ the frame was deleted. */
{ {
/* While a frame is unmapped, display generation is /* While a frame is unmapped, display generation is
disabled; you don't want to spend time updating a disabled; you don't want to spend time updating a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment