diff options
| author | Dmitry Antipov | 2014-06-10 08:55:03 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-06-10 08:55:03 +0400 |
| commit | bfd559357dd906f4fe57b67346cf2bd8bdb8f2a3 (patch) | |
| tree | 9eb702d4208c1b32de82269bf061b5d720cadb8f /src/w32term.c | |
| parent | 24ce6a0214e7b885363990e07dabf2935a8c1e11 (diff) | |
| download | emacs-bfd559357dd906f4fe57b67346cf2bd8bdb8f2a3.tar.gz emacs-bfd559357dd906f4fe57b67346cf2bd8bdb8f2a3.zip | |
* dispextern.h (last_tool_bar_item): Remove declaration.
* frame.h (struct frame): New member last_tool_bar_item.
* frame.c (make_frame): Initialize it.
* xdisp.c (toplevel): Remove last_tool_bar_item.
(handle_tool_bar_click, note_tool_bar_highlight):
* w32term.c (w32_read_socket, w32_initialize):
* xterm.c (handle_one_xevent, x_initialize): Adjust users.
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/w32term.c b/src/w32term.c index fc45bdd30a3..553764a8de5 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -4536,10 +4536,11 @@ w32_read_socket (struct terminal *terminal, | |||
| 4536 | Emacs events should reflect only motion after | 4536 | Emacs events should reflect only motion after |
| 4537 | the ButtonPress. */ | 4537 | the ButtonPress. */ |
| 4538 | if (f != 0) | 4538 | if (f != 0) |
| 4539 | f->mouse_moved = 0; | 4539 | { |
| 4540 | 4540 | f->mouse_moved = 0; | |
| 4541 | if (!tool_bar_p) | 4541 | if (!tool_bar_p) |
| 4542 | last_tool_bar_item = -1; | 4542 | f->last_tool_bar_item = -1; |
| 4543 | } | ||
| 4543 | } | 4544 | } |
| 4544 | break; | 4545 | break; |
| 4545 | } | 4546 | } |
| @@ -4564,9 +4565,9 @@ w32_read_socket (struct terminal *terminal, | |||
| 4564 | should reflect only motion after the | 4565 | should reflect only motion after the |
| 4565 | ButtonPress. */ | 4566 | ButtonPress. */ |
| 4566 | f->mouse_moved = 0; | 4567 | f->mouse_moved = 0; |
| 4568 | f->last_tool_bar_item = -1; | ||
| 4567 | } | 4569 | } |
| 4568 | dpyinfo->last_mouse_frame = f; | 4570 | dpyinfo->last_mouse_frame = f; |
| 4569 | last_tool_bar_item = -1; | ||
| 4570 | } | 4571 | } |
| 4571 | break; | 4572 | break; |
| 4572 | 4573 | ||
| @@ -6454,7 +6455,6 @@ w32_initialize (void) | |||
| 6454 | &w32_use_visible_system_caret, 0)) | 6455 | &w32_use_visible_system_caret, 0)) |
| 6455 | w32_use_visible_system_caret = 0; | 6456 | w32_use_visible_system_caret = 0; |
| 6456 | 6457 | ||
| 6457 | last_tool_bar_item = -1; | ||
| 6458 | any_help_event_p = 0; | 6458 | any_help_event_p = 0; |
| 6459 | 6459 | ||
| 6460 | /* Initialize input mode: interrupt_input off, no flow control, allow | 6460 | /* Initialize input mode: interrupt_input off, no flow control, allow |