Mercurial > emacs
comparison src/xterm.c @ 48330:e5d539ae9468
(x_draw_relief_rect, x_draw_box_rect, x_update_cursor):
Declare all args (per C99).
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 14 Nov 2002 14:21:34 +0000 |
parents | d2c93bc1faf1 |
children | c44793510100 |
comparison
equal
deleted
inserted
replaced
48329:0d792a35828b | 48330:e5d539ae9468 |
---|---|
3908 | 3908 |
3909 static void | 3909 static void |
3910 x_draw_relief_rect (f, left_x, top_y, right_x, bottom_y, width, | 3910 x_draw_relief_rect (f, left_x, top_y, right_x, bottom_y, width, |
3911 raised_p, left_p, right_p, clip_rect) | 3911 raised_p, left_p, right_p, clip_rect) |
3912 struct frame *f; | 3912 struct frame *f; |
3913 int left_x, top_y, right_x, bottom_y, left_p, right_p, raised_p; | 3913 int left_x, top_y, right_x, bottom_y, width, left_p, right_p, raised_p; |
3914 XRectangle *clip_rect; | 3914 XRectangle *clip_rect; |
3915 { | 3915 { |
3916 Display *dpy = FRAME_X_DISPLAY (f); | 3916 Display *dpy = FRAME_X_DISPLAY (f); |
3917 Window window = FRAME_X_WINDOW (f); | 3917 Window window = FRAME_X_WINDOW (f); |
3918 int i; | 3918 int i; |
3968 | 3968 |
3969 static void | 3969 static void |
3970 x_draw_box_rect (s, left_x, top_y, right_x, bottom_y, width, | 3970 x_draw_box_rect (s, left_x, top_y, right_x, bottom_y, width, |
3971 left_p, right_p, clip_rect) | 3971 left_p, right_p, clip_rect) |
3972 struct glyph_string *s; | 3972 struct glyph_string *s; |
3973 int left_x, top_y, right_x, bottom_y, left_p, right_p; | 3973 int left_x, top_y, right_x, bottom_y, width, left_p, right_p; |
3974 XRectangle *clip_rect; | 3974 XRectangle *clip_rect; |
3975 { | 3975 { |
3976 XGCValues xgcv; | 3976 XGCValues xgcv; |
3977 | 3977 |
3978 XGetGCValues (s->display, s->gc, GCForeground, &xgcv); | 3978 XGetGCValues (s->display, s->gc, GCForeground, &xgcv); |
11980 Don't change the cursor's position. */ | 11980 Don't change the cursor's position. */ |
11981 | 11981 |
11982 void | 11982 void |
11983 x_update_cursor (f, on_p) | 11983 x_update_cursor (f, on_p) |
11984 struct frame *f; | 11984 struct frame *f; |
11985 int on_p; | |
11985 { | 11986 { |
11986 x_update_cursor_in_window_tree (XWINDOW (f->root_window), on_p); | 11987 x_update_cursor_in_window_tree (XWINDOW (f->root_window), on_p); |
11987 } | 11988 } |
11988 | 11989 |
11989 | 11990 |