[project @ 2004-05-12 08:05:35 by jmb]
Fix input focus when right clicking a link. svn path=/import/netsurf/; revision=855
This commit is contained in:
parent
c135ace63d
commit
0ee5786458
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue