diff --git a/riscos/window.c b/riscos/window.c
index aa2cc16..ebb1b6a 100644
--- a/riscos/window.c
+++ b/riscos/window.c
@@ -1907,6 +1907,7 @@ bool ro_gui_window_handle_local_keypress(struct gui_window *g, wimp_key *key,
case IS_WIMP_KEY + wimp_KEY_CONTROL + wimp_KEY_F2:
/* Close window. */
ro_gui_url_complete_close();
+ gui_window_set_pointer(g, GUI_POINTER_DEFAULT);
browser_window_destroy(g->bw);
return true;
This is a patch for Mantis issue 2170. It's RISC OS specific. It's
a one-liner.
The bug is that, if you hover over a link in a window and then close
the window with Control-F2, the pointer remains as the link pointer
shape. The fix restores the pointer to the default shape before
destroying the window.
The patch was originally submitted by Sprow. The line numbers have
changed slightly, hence the need to re-issue this patch.
I have developer tested it.
It doesn't seem worth creating my own git branch for this (except
as an exercise in git of course).
Dave
____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
Check it out at http://mysecurelogon.com/password-manager
No comments:
Post a Comment