comparison src/xterm.c @ 83080:d4d5e54871ff

Trivial cleanups to get rid of GCC warnings. src/fontset.c (Fset_fontset_font): Removed unused variables. src/fringe.c (Ffringe_bitmaps_at_pos): Ditto. src/xdisp.c (Flookup_image_map, note_mode_line_or_margin_highlight): Ditto. src/xterm.c (x_detect_focus_change, x_calc_absolute_position): Ditto. src/intervals.h (compare_string_intervals): New declaration. src/intervals.h (NULL_INTERVAL_P): Shut up GCC warnings by casting the left side of the comma expression to void. src/lisp.h (CHECK): Ditto. src/keyboard.c (modify_event_symbol): Shut up GCC warning about format template type mismatch. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-120
author Karoly Lorentey <lorentey@elte.hu>
date Fri, 19 Mar 2004 23:19:04 +0000
parents 90ccc0dc0d3f
children 108bb5537c12
comparison
equal deleted inserted replaced
83079:5f17f5c40152 83080:d4d5e54871ff
3222 struct x_display_info *dpyinfo; 3222 struct x_display_info *dpyinfo;
3223 XEvent *event; 3223 XEvent *event;
3224 struct input_event *bufp; 3224 struct input_event *bufp;
3225 { 3225 {
3226 struct frame *frame; 3226 struct frame *frame;
3227 int nr_events = 0;
3228 3227
3229 frame = x_any_window_to_frame (dpyinfo, event->xany.window); 3228 frame = x_any_window_to_frame (dpyinfo, event->xany.window);
3230 if (! frame) 3229 if (! frame)
3231 return; 3230 return;
3232 3231
8146 8145
8147 void 8146 void
8148 x_calc_absolute_position (f) 8147 x_calc_absolute_position (f)
8149 struct frame *f; 8148 struct frame *f;
8150 { 8149 {
8151 Window child;
8152 int win_x = 0, win_y = 0; 8150 int win_x = 0, win_y = 0;
8153 int flags = f->size_hint_flags; 8151 int flags = f->size_hint_flags;
8154 8152
8155 /* We have nothing to do if the current position 8153 /* We have nothing to do if the current position
8156 is already for the top-left corner. */ 8154 is already for the top-left corner. */