diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-05-12 08:05:35 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-05-12 08:05:35 +0000 |
commit | 0ee578645879df59daaeccb18b4fa34eb395be0c (patch) | |
tree | 3dd0c3aedd1a3a5a87e1c2c60b8df844023ce91b | |
parent | c135ace63d6d0a8e95cb45651f7243d64a473217 (diff) | |
download | netsurf-0ee578645879df59daaeccb18b4fa34eb395be0c.tar.gz netsurf-0ee578645879df59daaeccb18b4fa34eb395be0c.tar.bz2 |
[project @ 2004-05-12 08:05:35 by jmb]
Fix input focus when right clicking a link.
svn path=/import/netsurf/; revision=855
-rw-r--r-- | riscos/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/riscos/window.c b/riscos/window.c index 81732d381..6323dbb92 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -25,6 +25,7 @@ #include "netsurf/riscos/constdata.h" #include "netsurf/riscos/gui.h" #include "netsurf/riscos/options.h" +#include "netsurf/riscos/print.h" #include "netsurf/riscos/save_complete.h" #include "netsurf/riscos/save_draw.h" #include "netsurf/riscos/theme.h" @@ -692,7 +693,7 @@ void ro_gui_window_click(gui_window* g, wimp_pointer* pointer) { /* set input focus */ wimp_get_caret_position(&caret); - if (caret.w != state.w) { + if (pointer->buttons == wimp_CLICK_SELECT && caret.w != state.w) { wimp_set_caret_position(state.w, -1, -100, -100, 32, -1); } |