diff options
| author | Miles Bader | 2007-11-11 00:56:44 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-11-11 00:56:44 +0000 |
| commit | f23d76bdefbd4c06e14d69e99e50d35ce91c8226 (patch) | |
| tree | ded28d1da6df2d0135514bac83074f4ca1c9099a /src/w32term.c | |
| parent | e2d092da5980a7d05a5428074f8eb4925fa801e8 (diff) | |
| parent | a457417ee5ba797ab1c91d35ee957bb7a7f8d4b6 (diff) | |
| download | emacs-f23d76bdefbd4c06e14d69e99e50d35ce91c8226.tar.gz emacs-f23d76bdefbd4c06e14d69e99e50d35ce91c8226.zip | |
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-283
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c index aae84473532..93e81b7bdb4 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -2769,7 +2769,6 @@ x_draw_stretch_glyph_string (s) | |||
| 2769 | struct glyph_string *s; | 2769 | struct glyph_string *s; |
| 2770 | { | 2770 | { |
| 2771 | xassert (s->first_glyph->type == STRETCH_GLYPH); | 2771 | xassert (s->first_glyph->type == STRETCH_GLYPH); |
| 2772 | s->stippled_p = s->face->stipple != 0; | ||
| 2773 | 2772 | ||
| 2774 | if (s->hl == DRAW_CURSOR | 2773 | if (s->hl == DRAW_CURSOR |
| 2775 | && !x_stretch_cursor_p) | 2774 | && !x_stretch_cursor_p) |
| @@ -4426,7 +4425,7 @@ w32_scroll_bar_handle_click (bar, msg, emacs_event) | |||
| 4426 | if (! WINDOWP (bar->window)) | 4425 | if (! WINDOWP (bar->window)) |
| 4427 | abort (); | 4426 | abort (); |
| 4428 | 4427 | ||
| 4429 | emacs_event->kind = W32_SCROLL_BAR_CLICK_EVENT; | 4428 | emacs_event->kind = SCROLL_BAR_CLICK_EVENT; |
| 4430 | emacs_event->code = 0; | 4429 | emacs_event->code = 0; |
| 4431 | /* not really meaningful to distinguish up/down */ | 4430 | /* not really meaningful to distinguish up/down */ |
| 4432 | emacs_event->modifiers = msg->dwModifiers; | 4431 | emacs_event->modifiers = msg->dwModifiers; |
| @@ -4793,6 +4792,29 @@ w32_read_socket (sd, expected, hold_quit) | |||
| 4793 | } | 4792 | } |
| 4794 | break; | 4793 | break; |
| 4795 | 4794 | ||
| 4795 | case WM_APPCOMMAND: | ||
| 4796 | f = x_window_to_frame (dpyinfo, msg.msg.hwnd); | ||
| 4797 | |||
| 4798 | if (f && !f->iconified) | ||
| 4799 | { | ||
| 4800 | if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight) | ||
| 4801 | && !EQ (f->tool_bar_window, dpyinfo->mouse_face_window)) | ||
| 4802 | { | ||
| 4803 | clear_mouse_face (dpyinfo); | ||
| 4804 | dpyinfo->mouse_face_hidden = 1; | ||
| 4805 | } | ||
| 4806 | |||
| 4807 | if (temp_index == sizeof temp_buffer / sizeof (short)) | ||
| 4808 | temp_index = 0; | ||
| 4809 | temp_buffer[temp_index++] = msg.msg.wParam; | ||
| 4810 | inev.kind = MULTIMEDIA_KEY_EVENT; | ||
| 4811 | inev.code = GET_APPCOMMAND_LPARAM(msg.msg.lParam); | ||
| 4812 | inev.modifiers = msg.dwModifiers; | ||
| 4813 | XSETFRAME (inev.frame_or_window, f); | ||
| 4814 | inev.timestamp = msg.msg.time; | ||
| 4815 | } | ||
| 4816 | break; | ||
| 4817 | |||
| 4796 | case WM_MOUSEMOVE: | 4818 | case WM_MOUSEMOVE: |
| 4797 | /* Ignore non-movement. */ | 4819 | /* Ignore non-movement. */ |
| 4798 | { | 4820 | { |