summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/tree.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index c4d1ffbed..3ad9c1812 100755
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -764,11 +764,6 @@ BOOL ami_tree_event(struct treeview_window *twin)
if(twin->drag_y == 0) twin->drag_y = y;
ami_tree_drag_icon_show(twin);
}
- else
- {
- tree_mouse_action(twin->tree,
- twin->mouse_state | twin->key_state, x, y);
- }
}
twin->lastclick.tv_sec = 0;
twin->lastclick.tv_usec = 0;
@@ -795,8 +790,7 @@ BOOL ami_tree_event(struct treeview_window *twin)
twin->mouse_state = BROWSER_MOUSE_PRESS_2;
break;
}
- tree_mouse_action(twin->tree,
- twin->mouse_state | twin->key_state, x, y);
+//**
}
if(x < xs) x = xs;
@@ -875,6 +869,12 @@ BOOL ami_tree_event(struct treeview_window *twin)
twin->drag_x = 0;
twin->drag_y = 0;
break;
+
+ case SELECTDOWN:
+ case MIDDLEDOWN:
+ tree_mouse_action(twin->tree,
+ twin->mouse_state | twin->key_state, x, y);
+ break;
}
break;