diff options
| author | Joakim Verona | 2012-08-19 02:44:11 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-08-19 02:44:11 +0200 |
| commit | 5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (patch) | |
| tree | 532faa27319b3bb199d414dc85e63a58246d30b0 /src/w32term.c | |
| parent | d02344322b0d2fea8dd9ad9dd0a6c70e058f967b (diff) | |
| parent | e757f1c6f393cf82057dbee0a4325b07f0fd55c4 (diff) | |
| download | emacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.tar.gz emacs-5436d1df5e2ba0b4d4f72b03a1cd09b20403654b.zip | |
upstream
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/w32term.c b/src/w32term.c index 7da9433d3f1..6948a98998e 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -2972,7 +2972,7 @@ x_frame_rehighlight (struct w32_display_info *dpyinfo) | |||
| 2972 | : dpyinfo->w32_focus_frame); | 2972 | : dpyinfo->w32_focus_frame); |
| 2973 | if (! FRAME_LIVE_P (dpyinfo->x_highlight_frame)) | 2973 | if (! FRAME_LIVE_P (dpyinfo->x_highlight_frame)) |
| 2974 | { | 2974 | { |
| 2975 | FSET (dpyinfo->w32_focus_frame, focus_frame, Qnil); | 2975 | fset_focus_frame (dpyinfo->w32_focus_frame, Qnil); |
| 2976 | dpyinfo->x_highlight_frame = dpyinfo->w32_focus_frame; | 2976 | dpyinfo->x_highlight_frame = dpyinfo->w32_focus_frame; |
| 2977 | } | 2977 | } |
| 2978 | } | 2978 | } |
| @@ -3646,7 +3646,7 @@ x_scroll_bar_create (struct window *w, int top, int left, int width, int height) | |||
| 3646 | bar->next = FRAME_SCROLL_BARS (f); | 3646 | bar->next = FRAME_SCROLL_BARS (f); |
| 3647 | bar->prev = Qnil; | 3647 | bar->prev = Qnil; |
| 3648 | XSETVECTOR (barobj, bar); | 3648 | XSETVECTOR (barobj, bar); |
| 3649 | FSET (f, scroll_bars, barobj); | 3649 | fset_scroll_bars (f, barobj); |
| 3650 | if (! NILP (bar->next)) | 3650 | if (! NILP (bar->next)) |
| 3651 | XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); | 3651 | XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); |
| 3652 | 3652 | ||
| @@ -3670,7 +3670,7 @@ x_scroll_bar_remove (struct scroll_bar *bar) | |||
| 3670 | my_destroy_window (f, SCROLL_BAR_W32_WINDOW (bar)); | 3670 | my_destroy_window (f, SCROLL_BAR_W32_WINDOW (bar)); |
| 3671 | 3671 | ||
| 3672 | /* Dissociate this scroll bar from its window. */ | 3672 | /* Dissociate this scroll bar from its window. */ |
| 3673 | WSET (XWINDOW (bar->window), vertical_scroll_bar, Qnil); | 3673 | wset_vertical_scroll_bar (XWINDOW (bar->window), Qnil); |
| 3674 | 3674 | ||
| 3675 | UNBLOCK_INPUT; | 3675 | UNBLOCK_INPUT; |
| 3676 | } | 3676 | } |
| @@ -3808,7 +3808,7 @@ w32_set_vertical_scroll_bar (struct window *w, | |||
| 3808 | 3808 | ||
| 3809 | w32_set_scroll_bar_thumb (bar, portion, position, whole); | 3809 | w32_set_scroll_bar_thumb (bar, portion, position, whole); |
| 3810 | XSETVECTOR (barobj, bar); | 3810 | XSETVECTOR (barobj, bar); |
| 3811 | WSET (w, vertical_scroll_bar, barobj); | 3811 | wset_vertical_scroll_bar (w, barobj); |
| 3812 | } | 3812 | } |
| 3813 | 3813 | ||
| 3814 | 3814 | ||
| @@ -3832,12 +3832,12 @@ w32_condemn_scroll_bars (FRAME_PTR frame) | |||
| 3832 | { | 3832 | { |
| 3833 | Lisp_Object bar; | 3833 | Lisp_Object bar; |
| 3834 | bar = FRAME_SCROLL_BARS (frame); | 3834 | bar = FRAME_SCROLL_BARS (frame); |
| 3835 | FSET (frame, scroll_bars, XSCROLL_BAR (bar)->next); | 3835 | fset_scroll_bars (frame, XSCROLL_BAR (bar)->next); |
| 3836 | XSCROLL_BAR (bar)->next = FRAME_CONDEMNED_SCROLL_BARS (frame); | 3836 | XSCROLL_BAR (bar)->next = FRAME_CONDEMNED_SCROLL_BARS (frame); |
| 3837 | XSCROLL_BAR (bar)->prev = Qnil; | 3837 | XSCROLL_BAR (bar)->prev = Qnil; |
| 3838 | if (! NILP (FRAME_CONDEMNED_SCROLL_BARS (frame))) | 3838 | if (! NILP (FRAME_CONDEMNED_SCROLL_BARS (frame))) |
| 3839 | XSCROLL_BAR (FRAME_CONDEMNED_SCROLL_BARS (frame))->prev = bar; | 3839 | XSCROLL_BAR (FRAME_CONDEMNED_SCROLL_BARS (frame))->prev = bar; |
| 3840 | FSET (frame, condemned_scroll_bars, bar); | 3840 | fset_condemned_scroll_bars (frame, bar); |
| 3841 | } | 3841 | } |
| 3842 | } | 3842 | } |
| 3843 | 3843 | ||
| @@ -3869,7 +3869,7 @@ w32_redeem_scroll_bar (struct window *window) | |||
| 3869 | return; | 3869 | return; |
| 3870 | else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), | 3870 | else if (EQ (FRAME_CONDEMNED_SCROLL_BARS (f), |
| 3871 | window->vertical_scroll_bar)) | 3871 | window->vertical_scroll_bar)) |
| 3872 | FSET (f, condemned_scroll_bars, bar->next); | 3872 | fset_condemned_scroll_bars (f, bar->next); |
| 3873 | else | 3873 | else |
| 3874 | /* If its prev pointer is nil, it must be at the front of | 3874 | /* If its prev pointer is nil, it must be at the front of |
| 3875 | one or the other! */ | 3875 | one or the other! */ |
| @@ -3884,7 +3884,7 @@ w32_redeem_scroll_bar (struct window *window) | |||
| 3884 | bar->next = FRAME_SCROLL_BARS (f); | 3884 | bar->next = FRAME_SCROLL_BARS (f); |
| 3885 | bar->prev = Qnil; | 3885 | bar->prev = Qnil; |
| 3886 | XSETVECTOR (barobj, bar); | 3886 | XSETVECTOR (barobj, bar); |
| 3887 | FSET (f, scroll_bars, barobj); | 3887 | fset_scroll_bars (f, barobj); |
| 3888 | if (! NILP (bar->next)) | 3888 | if (! NILP (bar->next)) |
| 3889 | XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); | 3889 | XSETVECTOR (XSCROLL_BAR (bar->next)->prev, bar); |
| 3890 | } | 3890 | } |
| @@ -3901,7 +3901,7 @@ w32_judge_scroll_bars (FRAME_PTR f) | |||
| 3901 | 3901 | ||
| 3902 | /* Clear out the condemned list now so we won't try to process any | 3902 | /* Clear out the condemned list now so we won't try to process any |
| 3903 | more events on the hapless scroll bars. */ | 3903 | more events on the hapless scroll bars. */ |
| 3904 | FSET (f, condemned_scroll_bars, Qnil); | 3904 | fset_condemned_scroll_bars (f, Qnil); |
| 3905 | 3905 | ||
| 3906 | for (; ! NILP (bar); bar = next) | 3906 | for (; ! NILP (bar); bar = next) |
| 3907 | { | 3907 | { |
| @@ -6232,7 +6232,7 @@ w32_create_terminal (struct w32_display_info *dpyinfo) | |||
| 6232 | terminal like X does. */ | 6232 | terminal like X does. */ |
| 6233 | terminal->kboard = xmalloc (sizeof (KBOARD)); | 6233 | terminal->kboard = xmalloc (sizeof (KBOARD)); |
| 6234 | init_kboard (terminal->kboard); | 6234 | init_kboard (terminal->kboard); |
| 6235 | KSET (terminal->kboard, Vwindow_system, intern ("w32")); | 6235 | kset_window_system (terminal->kboard, intern ("w32")); |
| 6236 | terminal->kboard->next_kboard = all_kboards; | 6236 | terminal->kboard->next_kboard = all_kboards; |
| 6237 | all_kboards = terminal->kboard; | 6237 | all_kboards = terminal->kboard; |
| 6238 | /* Don't let the initial kboard remain current longer than necessary. | 6238 | /* Don't let the initial kboard remain current longer than necessary. |