aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes2001-01-20 14:04:28 +0000
committerAndrew Innes2001-01-20 14:04:28 +0000
commit0f32f0232b359287ba5a1ec5992c7fad7b5e60fa (patch)
tree25bfa28d4b1f54c859f172115b3e97a7832e7de0 /src
parent1a89b7c6f7f1bc25bda88bbaefa9b8f8f207c7be (diff)
downloademacs-0f32f0232b359287ba5a1ec5992c7fad7b5e60fa.tar.gz
emacs-0f32f0232b359287ba5a1ec5992c7fad7b5e60fa.zip
(w32_ring_bell): Only support visible bell on w32
frames. (w32_initialize): Don't set term hooks that aren't actually needed in windowed mode.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog28
-rw-r--r--src/w32term.c15
2 files changed, 32 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index dc7e39113b9..6bbc6054bc2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,31 @@
12001-01-20 Andrew Innes <andrewi@gnu.org>
2
3 * w32term.c (w32_ring_bell): Only support visible bell on w32
4 frames.
5 (w32_initialize): Don't set term hooks that aren't actually needed
6 in windowed mode.
7
8 * xfaces.c (realize_default_face):
9 (realize_face):
10 (realize_tty_face): Remove references to FRAME_W32_CONSOLE_P.
11
12 * xdisp.c (handle_single_display_prop): Remove references to
13 FRAME_W32_CONSOLE_P.
14
15 * dispnew.c (Fredraw_frame): Remove reference to
16 FRAME_W32_CONSOLE_P.
17
18 * frame.h (output_method): Remove output_w32_console method.
19 (FRAME_W32_CONSOLE_P): Remove macro.
20
21 * frame.c (Qw32_console): Remove variable.
22 (Fframep): Remove references to it.
23 (syms_of_frame): Ditto.
24 (Fframe_parameters): Remove references to FRAME_W32_CONSOLE_P.
25
26 * term.c (FRAME_TERMCAP_P) [WINDOWSNT]: Reinstate original
27 redefinition.
28
12001-01-20 Kenichi Handa <handa@etl.go.jp> 292001-01-20 Kenichi Handa <handa@etl.go.jp>
2 30
3 * editfns.c (Fformat): Use lisp_string_width instead of strwidth. 31 * editfns.c (Fformat): Use lisp_string_width instead of strwidth.
diff --git a/src/w32term.c b/src/w32term.c
index 0af66377c76..0d6f8c4bf20 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -5314,12 +5314,9 @@ w32_ring_bell (void)
5314 5314
5315 f = SELECTED_FRAME (); 5315 f = SELECTED_FRAME ();
5316 5316
5317 if (! FRAME_W32_P (f))
5318 return;
5319
5320 BLOCK_INPUT; 5317 BLOCK_INPUT;
5321 5318
5322 if (visible_bell) 5319 if (FRAME_W32_P (f) && visible_bell)
5323 { 5320 {
5324 int i; 5321 int i;
5325 HWND hwnd = FRAME_W32_WINDOW (SELECTED_FRAME ()); 5322 HWND hwnd = FRAME_W32_WINDOW (SELECTED_FRAME ());
@@ -10304,18 +10301,14 @@ w32_initialize ()
10304 /* MSVC does not type K&R functions with no arguments correctly, and 10301 /* MSVC does not type K&R functions with no arguments correctly, and
10305 so we must explicitly cast them. */ 10302 so we must explicitly cast them. */
10306 clear_frame_hook = (void (*)(void)) x_clear_frame; 10303 clear_frame_hook = (void (*)(void)) x_clear_frame;
10307 ins_del_lines_hook = x_ins_del_lines;
10308 change_line_highlight_hook = x_change_line_highlight;
10309 delete_glyphs_hook = x_delete_glyphs;
10310 ring_bell_hook = (void (*)(void)) w32_ring_bell; 10304 ring_bell_hook = (void (*)(void)) w32_ring_bell;
10311 reset_terminal_modes_hook = (void (*)(void)) w32_reset_terminal_modes;
10312 set_terminal_modes_hook = (void (*)(void)) w32_set_terminal_modes;
10313 update_begin_hook = x_update_begin; 10305 update_begin_hook = x_update_begin;
10314 update_end_hook = x_update_end; 10306 update_end_hook = x_update_end;
10315 set_terminal_window_hook = w32_set_terminal_window; 10307
10316 read_socket_hook = w32_read_socket; 10308 read_socket_hook = w32_read_socket;
10309
10317 frame_up_to_date_hook = w32_frame_up_to_date; 10310 frame_up_to_date_hook = w32_frame_up_to_date;
10318 reassert_line_highlight_hook = w32_reassert_line_highlight; 10311
10319 mouse_position_hook = w32_mouse_position; 10312 mouse_position_hook = w32_mouse_position;
10320 frame_rehighlight_hook = w32_frame_rehighlight; 10313 frame_rehighlight_hook = w32_frame_rehighlight;
10321 frame_raise_lower_hook = w32_frame_raise_lower; 10314 frame_raise_lower_hook = w32_frame_raise_lower;