summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-09-12 17:12:45 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-09-12 17:12:45 +0100
commit653cf8fa1fe9796b48988ac8fd726056a55c70f4 (patch)
tree7715f062d4dbfaedda1f1da1bd9be2fbd0ea9fb7 /amiga
parent69b0350a3ca417ff945aa5981c4ece16d8232633 (diff)
downloadnetsurf-653cf8fa1fe9796b48988ac8fd726056a55c70f4.tar.gz
netsurf-653cf8fa1fe9796b48988ac8fd726056a55c70f4.tar.bz2
Use a simulated keypress rather than a simulated mouseclick
Diffstat (limited to 'amiga')
-rw-r--r--amiga/context_menu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c
index 797f5810b..454fe266e 100644
--- a/amiga/context_menu.c
+++ b/amiga/context_menu.c
@@ -1220,12 +1220,7 @@ static uint32 ami_context_menu_hook_tree(struct Hook *hook, Object *item, APTR r
switch(itemid)
{
case CMID_TREE_LAUNCH:
- tree_mouse_action(tree, BROWSER_MOUSE_DOUBLE_CLICK, 0, 0);
- /**TODO: this needs fixing. ^^^^
- (a) the mouse co-ordinates where the context menu was opened are not propagated and
- (b) does a double-click here open ALL selected entries?
- (c) what happens if the user right-clicked over a non-selected entry with others selected?
- **/
+ tree_keypress(tree, KEY_CR);
break;
case CMID_TREE_EDITFOLDER: