aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 256ba26e435..d4b472cfb24 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -417,14 +417,6 @@ struct terminal
417 int memory_below_frame; /* Terminal remembers lines scrolled 417 int memory_below_frame; /* Terminal remembers lines scrolled
418 off bottom */ 418 off bottom */
419 419
420#if 0 /* These are not used anywhere. */
421 /* EMACS_INT baud_rate; */ /* Output speed in baud */
422 int min_padding_speed; /* Speed below which no padding necessary. */
423 int dont_calculate_costs; /* Nonzero means don't bother computing
424 various cost tables; we won't use them. */
425#endif
426
427
428 /* Window-based redisplay interface for this device (0 for tty 420 /* Window-based redisplay interface for this device (0 for tty
429 devices). */ 421 devices). */
430 struct redisplay_interface *rif; 422 struct redisplay_interface *rif;
@@ -472,10 +464,7 @@ struct terminal
472 Otherwise, set *bar_window to Qnil, and *x and *y to the column and 464 Otherwise, set *bar_window to Qnil, and *x and *y to the column and
473 row of the character cell the mouse is over. 465 row of the character cell the mouse is over.
474 466
475 Set *time to the time the mouse was at the returned position. 467 Set *time to the time the mouse was at the returned position. */
476
477 This should clear mouse_moved until the next motion
478 event arrives. */
479 void (*mouse_position_hook) (struct frame **f, int, 468 void (*mouse_position_hook) (struct frame **f, int,
480 Lisp_Object *bar_window, 469 Lisp_Object *bar_window,
481 enum scroll_bar_part *part, 470 enum scroll_bar_part *part,
@@ -483,11 +472,6 @@ struct terminal
483 Lisp_Object *y, 472 Lisp_Object *y,
484 Time *); 473 Time *);
485 474
486 /* The window system handling code should set this if the mouse has
487 moved since the last call to the mouse_position_hook. Calling that
488 hook should clear this. */
489 int mouse_moved;
490
491 /* When a frame's focus redirection is changed, this hook tells the 475 /* When a frame's focus redirection is changed, this hook tells the
492 window system code to re-decide where to put the highlight. Under 476 window system code to re-decide where to put the highlight. Under
493 X, this means that Emacs lies about where the focus is. */ 477 X, this means that Emacs lies about where the focus is. */