diff options
| author | Pavel Janík | 2001-10-14 16:10:40 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-10-14 16:10:40 +0000 |
| commit | d624284cc873f9908c11cf1b64aaa068567a8be0 (patch) | |
| tree | e22ce719008560e25d5219e634567f2e1f554550 /src | |
| parent | a87414f9936c78e6944e7a1d1b728a5ce4a8bb74 (diff) | |
| download | emacs-d624284cc873f9908c11cf1b64aaa068567a8be0.tar.gz emacs-d624284cc873f9908c11cf1b64aaa068567a8be0.zip | |
(xlwmenu_window_p, xlwmenu_redisplay): Add prototypes.
(XTread_socket): Improve style of comments to follow other comments.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xterm.c | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 998d817f499..9b24404c16f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2001-10-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 1 | 2001-10-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz> |
| 2 | 2 | ||
| 3 | * xterm.c: (xlwmenu_window_p, xlwmenu_redisplay): Add prototypes. | ||
| 4 | (XTread_socket): Improve style of comments to follow other | ||
| 5 | comments. | ||
| 6 | |||
| 3 | * keyboard.c (Fcommand_execute): Remove unnecessary prototype (it | 7 | * keyboard.c (Fcommand_execute): Remove unnecessary prototype (it |
| 4 | is already prototyped in included lisp.h). | 8 | is already prototyped in included lisp.h). |
| 5 | 9 | ||
diff --git a/src/xterm.c b/src/xterm.c index 2dd0cd01b89..c6b6f477359 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -98,6 +98,11 @@ Boston, MA 02111-1307, USA. */ | |||
| 98 | #include <unistd.h> | 98 | #include <unistd.h> |
| 99 | #endif | 99 | #endif |
| 100 | 100 | ||
| 101 | #ifdef USE_LUCID | ||
| 102 | extern int xlwmenu_window_p (Widget w, Window window); | ||
| 103 | extern void xlwmenu_redisplay P_ ((Widget)); | ||
| 104 | #endif | ||
| 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 *)); |
| @@ -10315,8 +10320,8 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 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 | { |
| @@ -10333,7 +10338,7 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 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: |
| @@ -10346,7 +10351,7 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 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 |