comparison src/ChangeLog @ 93070:d94ac0f6a006

* w32fns.c (hourglass_timer, hourglass_hwnd): New variables. (syms_of_w32fns): Initialize them. (HOURGLASS_ID): New constant. (x_window_to_frame): Don't check hourglass_window. (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer. (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor. (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor. (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor. Only change the cursor if hourglass is not active. (Fx_create_frame): Initialize frame's current_cursor. (hourglass_atimer): Remove. (hourglass_started): New function. (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32. (show_hourglass): Adapt to w32, changing argument to frame. * w32term.h (struct w32_output): Remove hourglass_window. Add current_cursor. * eval.c (call_debugger, Fsignal): * keyboard.c (recursive_edit_1, cmd_error, Ftop_level) (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector) (Fexecute_extended_command, cancel_hourglass_unwind): * minibuf.c (read_minibuf): * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
author Jason Rumney <jasonr@gnu.org>
date Wed, 19 Mar 2008 17:02:22 +0000
parents 3ca0c43ea37d
children 232558876fd1
comparison
equal deleted inserted replaced
93069:36945fea0cff 93070:d94ac0f6a006
1 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca> 1 2008-03-19 Jason Rumney <jasonr@gnu.org>
2 2
3 * window.c (run_funs): New fun. 3 * w32fns.c (hourglass_timer, hourglass_hwnd): New variables.
4 (run_window_configuration_change_hook): Use it to run the buffer-local 4 (syms_of_w32fns): Initialize them.
5 and the global part of the hook. 5 (HOURGLASS_ID): New constant.
6 6 (x_window_to_frame): Don't check hourglass_window.
7 * xdisp.c (format_mode_line_unwind_data): Add window argument. 7 (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
8 (unwind_format_mode_line): Restore selected window. 8 (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
9 (x_consider_frame_title, Fformat_mode_line): Set selected window. 9 (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
10 (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
11 Only change the cursor if hourglass is not active.
12 (Fx_create_frame): Initialize frame's current_cursor.
13 (hourglass_atimer): Remove.
14 (hourglass_started): New function.
15 (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
16 (show_hourglass): Adapt to w32, changing argument to frame.
17
18 * w32term.h (struct w32_output): Remove hourglass_window.
19 Add current_cursor.
20
21 * eval.c (call_debugger, Fsignal):
22 * keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
23 (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
24 (Fexecute_extended_command, cancel_hourglass_unwind):
25 * minibuf.c (read_minibuf):
26 * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
10 27
11 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca> 28 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12 29
13 * editfns.c (Fchar_equal): Check they are valid characters. 30 * editfns.c (Fchar_equal): Check they are valid characters.
14 31