diff options
| author | Eli Zaretskii | 2012-11-13 16:17:18 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-13 16:17:18 +0200 |
| commit | 3c4ca7155293ffc2d04708007131bcbc882d8913 (patch) | |
| tree | 61787be8cd43b6fb3d5159852fbd186eea404de7 /src/termhooks.h | |
| parent | 5ade42a5114255c43117065494b96d480c1e1588 (diff) | |
| parent | c708524567662c8911c5ab2695acc7bda0383705 (diff) | |
| download | emacs-3c4ca7155293ffc2d04708007131bcbc882d8913.tar.gz emacs-3c4ca7155293ffc2d04708007131bcbc882d8913.zip | |
Merge from trunk.
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 30 |
1 files changed, 3 insertions, 27 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index bac86423a4b..d1ee7138d67 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -243,16 +243,8 @@ struct input_event | |||
| 243 | Lisp_Object x, y; | 243 | Lisp_Object x, y; |
| 244 | Time timestamp; | 244 | Time timestamp; |
| 245 | 245 | ||
| 246 | /* This is padding just to put the frame_or_window field | 246 | /* This field is copied into a vector while the event is in |
| 247 | past the size of struct selection_input_event. */ | 247 | the queue, so that garbage collections won't kill it. */ |
| 248 | int *padding[2]; | ||
| 249 | |||
| 250 | /* This field is copied into a vector while the event is in the queue, | ||
| 251 | so that garbage collections won't kill it. */ | ||
| 252 | /* In a menu_bar_event, this is a cons cell whose car is the frame | ||
| 253 | and whose cdr is the Lisp object that is the event's value. */ | ||
| 254 | /* This field is last so that struct selection_input_event | ||
| 255 | does not overlap with it. */ | ||
| 256 | Lisp_Object frame_or_window; | 248 | Lisp_Object frame_or_window; |
| 257 | 249 | ||
| 258 | /* Additional event argument. This is used for TOOL_BAR_EVENTs and | 250 | /* Additional event argument. This is used for TOOL_BAR_EVENTs and |
| @@ -423,14 +415,6 @@ struct terminal | |||
| 423 | int memory_below_frame; /* Terminal remembers lines scrolled | 415 | int memory_below_frame; /* Terminal remembers lines scrolled |
| 424 | off bottom */ | 416 | off bottom */ |
| 425 | 417 | ||
| 426 | #if 0 /* These are not used anywhere. */ | ||
| 427 | /* EMACS_INT baud_rate; */ /* Output speed in baud */ | ||
| 428 | int min_padding_speed; /* Speed below which no padding necessary. */ | ||
| 429 | int dont_calculate_costs; /* Nonzero means don't bother computing | ||
| 430 | various cost tables; we won't use them. */ | ||
| 431 | #endif | ||
| 432 | |||
| 433 | |||
| 434 | /* Window-based redisplay interface for this device (0 for tty | 418 | /* Window-based redisplay interface for this device (0 for tty |
| 435 | devices). */ | 419 | devices). */ |
| 436 | struct redisplay_interface *rif; | 420 | struct redisplay_interface *rif; |
| @@ -478,10 +462,7 @@ struct terminal | |||
| 478 | Otherwise, set *bar_window to Qnil, and *x and *y to the column and | 462 | Otherwise, set *bar_window to Qnil, and *x and *y to the column and |
| 479 | row of the character cell the mouse is over. | 463 | row of the character cell the mouse is over. |
| 480 | 464 | ||
| 481 | Set *time to the time the mouse was at the returned position. | 465 | Set *time to the time the mouse was at the returned position. */ |
| 482 | |||
| 483 | This should clear mouse_moved until the next motion | ||
| 484 | event arrives. */ | ||
| 485 | void (*mouse_position_hook) (struct frame **f, int, | 466 | void (*mouse_position_hook) (struct frame **f, int, |
| 486 | Lisp_Object *bar_window, | 467 | Lisp_Object *bar_window, |
| 487 | enum scroll_bar_part *part, | 468 | enum scroll_bar_part *part, |
| @@ -489,11 +470,6 @@ struct terminal | |||
| 489 | Lisp_Object *y, | 470 | Lisp_Object *y, |
| 490 | Time *); | 471 | Time *); |
| 491 | 472 | ||
| 492 | /* The window system handling code should set this if the mouse has | ||
| 493 | moved since the last call to the mouse_position_hook. Calling that | ||
| 494 | hook should clear this. */ | ||
| 495 | int mouse_moved; | ||
| 496 | |||
| 497 | /* When a frame's focus redirection is changed, this hook tells the | 473 | /* When a frame's focus redirection is changed, this hook tells the |
| 498 | window system code to re-decide where to put the highlight. Under | 474 | window system code to re-decide where to put the highlight. Under |
| 499 | X, this means that Emacs lies about where the focus is. */ | 475 | X, this means that Emacs lies about where the focus is. */ |