From 8c05425a2040dc129eb1d56e2317439a566fe293 Mon Sep 17 00:00:00 2001 From: Dave Higton Date: Sun, 7 Feb 2016 22:06:35 +0000 Subject: Fix RISC OS pointer shape issue This is a patch for Mantis issue 2170. 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. --- riscos/window.c | 1 + 1 file changed, 1 insertion(+) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index aa2cc1600..ebb1b6ab6 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; -- cgit v1.2.3