Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
89e09428
Commit
89e09428
authored
Feb 08, 2009
by
Jason Rumney
Browse files
(w32_hide_hourglass): Handle case where frame
disappeared while hourglass was displayed. (Bug #2193)
parent
c253eff0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/w32fns.c
src/w32fns.c
+11
-2
No files found.
src/ChangeLog
View file @
89e09428
2009-02-08 Jason Rumney <jasonr@gnu.org>
* w32fns.c (w32_hide_hourglass): Handle case where frame
disappeared while hourglass was displayed. (Bug #2193)
2009-02-07 Andreas Schwab <schwab@suse.de>
* unexelf.c (unexec): Fix error message.
...
...
src/w32fns.c
View file @
89e09428
...
...
@@ -5279,9 +5279,18 @@ w32_hide_hourglass ()
{
struct frame *f = x_window_to_frame (&one_w32_display_info,
hourglass_hwnd);
if (f)
f->output_data.w32->hourglass_p = 0;
else
/* If frame was deleted, restore to selected frame's cursor. */
f = SELECTED_FRAME ();
if (FRAME_W32_P (f))
SetCursor (f->output_data.w32->current_cursor);
else
/* No cursors on non GUI frames - restore to stock arrow cursor. */
SetCursor (w32_load_cursor (IDC_ARROW));
f->output_data.w32->hourglass_p = 0;
SetCursor (f->output_data.w32->current_cursor);
hourglass_shown_p = 0;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment