From 95870c95ddcf64969893ac06d4439fb9e4ab067c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 15 Dec 2010 21:53:38 +0000 Subject: [PATCH] Give caret for alt and ctrl since both start an edit. svn path=/trunk/netsurf/; revision=11064 --- riscos/treeview.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/riscos/treeview.c b/riscos/treeview.c index e67fc3ad8..baf22829d 100644 --- a/riscos/treeview.c +++ b/riscos/treeview.c @@ -759,7 +759,9 @@ static bool ro_treeview_mouse_click(wimp_pointer *pointer) tv->drag = true; } - if (mouse & (BROWSER_MOUSE_CLICK_1 | BROWSER_MOUSE_MOD_2)) + if ((mouse & BROWSER_MOUSE_CLICK_1) && + (mouse & (BROWSER_MOUSE_MOD_2 | + BROWSER_MOUSE_MOD_3))) xwimp_set_caret_position(tv->w, -1, -100, -100, 32, -1); }