aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorKaroly Lorentey2004-04-16 15:03:58 +0000
committerKaroly Lorentey2004-04-16 15:03:58 +0000
commit385ed61f9d0bffef8a3f037e8cdc85d0de71bf15 (patch)
treef731aec43c0fd28ae4c35f4102d1d2dd21ab735c /src/termhooks.h
parent5ffa0039d41813857b4442d435ad4f65123737c5 (diff)
downloademacs-385ed61f9d0bffef8a3f037e8cdc85d0de71bf15.tar.gz
emacs-385ed61f9d0bffef8a3f037e8cdc85d0de71bf15.zip
Eliminated updating_frame.
src/termhooks.h (cursor_to_hook, raw_cursor_to_hook) (clear_to_end_hook, clear_end_of_line_hook, clear_frame_hook) (ins_del_lines_hook, insert_glyphs_hook, write_glyphs_hook) (delete_glyphs_hook, ring_bell_hook, set_terminal_window_hook): Added frame parameter. src/term.c (ring_bell, tty_ring_bell, set_terminal_window) (tty_set_terminal_window, set_scroll_region, cursor_to) (tty_cursor_to, raw_cursor_to, tty_raw_cursor_to, clear_to_end) (tty_clear_to_end, clear_frame, tty_clear_frame, clear_end_of_line) (tty_clear_end_of_line, write_glyphs, tty_write_glyphs, insert_glyphs) (tty_insert_glyphs, delete_glyphs, tty_delete_glyphs, ins_del_lines) (tty_ins_del_lines): Added frame parameter. src/xterm.c (x_delete_glyphs, x_clear_frame, x_ins_del_lines): Added frame parameter. src/scroll.c (do_direct_scrolling, do_scrolling): Added frame parameter. src/term.c (update_begin, update_end): Don't set updating_frame. src/xfns.c (x_set_tool_bar_lines): Ditto. src/term.c (updating_frame): Removed. src/dispextern.h: Updated prototypes. src/dispnew.c (Fredraw_frame, direct_output_for_insert) (direct_output_forward_char, update_frame_1, update_frame_line) (ding, bitch_at_user): Added frame parameter to calls to redisplay. src/xdisp.c (try_window_id): Ditto. src/scroll.c (do_scrolling, do_direct_scrolling, scrolling_1): Ditto. src/fileio.c (auto_save_error): Ditto. src/term.c (tty_ring_bell): Flush the output stream after beeping. src/dispnew.c (ding, bitch_at_user): Don't fflush CURTTY. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-140
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 49a0cbac85b..ba677e9c41d 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -329,26 +329,27 @@ struct display
329 329
330 /* Text display hooks. */ 330 /* Text display hooks. */
331 331
332 void (*cursor_to_hook) P_ ((int vpos, int hpos)); 332 void (*cursor_to_hook) P_ ((struct frame *f, int vpos, int hpos));
333 void (*raw_cursor_to_hook) P_ ((int, int)); 333 void (*raw_cursor_to_hook) P_ ((struct frame *, int, int));
334 334
335 void (*clear_to_end_hook) P_ ((void)); 335 void (*clear_to_end_hook) P_ ((struct frame *));
336 void (*clear_frame_hook) P_ ((void)); 336 void (*clear_frame_hook) P_ ((struct frame *));
337 void (*clear_end_of_line_hook) P_ ((int)); 337 void (*clear_end_of_line_hook) P_ ((struct frame *, int));
338 338
339 void (*ins_del_lines_hook) P_ ((int, int)); 339 void (*ins_del_lines_hook) P_ ((struct frame *f, int, int));
340 340
341 void (*insert_glyphs_hook) P_ ((struct glyph *s, int n)); 341 void (*insert_glyphs_hook) P_ ((struct frame *f, struct glyph *s, int n));
342 void (*write_glyphs_hook) P_ ((struct glyph *s, int n)); 342 void (*write_glyphs_hook) P_ ((struct frame *f, struct glyph *s, int n));
343 void (*delete_glyphs_hook) P_ ((int)); 343 void (*delete_glyphs_hook) P_ ((struct frame *, int));
344 344
345 void (*ring_bell_hook) P_ ((void)); 345 void (*ring_bell_hook) P_ ((struct frame *f));
346 346
347 void (*reset_terminal_modes_hook) P_ ((struct display *)); 347 void (*reset_terminal_modes_hook) P_ ((struct display *));
348 void (*set_terminal_modes_hook) P_ ((struct display *)); 348 void (*set_terminal_modes_hook) P_ ((struct display *));
349
349 void (*update_begin_hook) P_ ((struct frame *)); 350 void (*update_begin_hook) P_ ((struct frame *));
350 void (*update_end_hook) P_ ((struct frame *)); 351 void (*update_end_hook) P_ ((struct frame *));
351 void (*set_terminal_window_hook) P_ ((int)); 352 void (*set_terminal_window_hook) P_ ((struct frame *, int));
352 353
353 /* Multi-frame and mouse support hooks. */ 354 /* Multi-frame and mouse support hooks. */
354 355
@@ -548,7 +549,6 @@ extern struct display *display_list;
548#define FRAME_WINDOW_P(f) (0) 549#define FRAME_WINDOW_P(f) (0)
549#endif 550#endif
550 551
551
552extern struct display *create_display P_ ((void)); 552extern struct display *create_display P_ ((void));
553extern void delete_display P_ ((struct display *)); 553extern void delete_display P_ ((struct display *));
554 554