summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rw-r--r--amiga/tree.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/amiga/tree.c b/amiga/tree.c
index 771099e21..2ca9508ca 100644
--- a/amiga/tree.c
+++ b/amiga/tree.c
@@ -104,7 +104,6 @@ struct treeview_window {
int max_height;
struct gui_globals globals;
struct sslcert_session_data *ssl_data;
- BOOL rmbtrapped;
char *wintitle;
char *sslerr;
char *sslaccept;
@@ -980,31 +979,6 @@ BOOL ami_tree_event(struct treeview_window *twin)
break;
}
- if((twin->win->MouseX - bbox->Left >=0) &&
- (twin->win->MouseX - bbox->Width - bbox->Left <=0) &&
- (twin->win->MouseY - bbox->Top >=0) &&
- (twin->win->MouseY - bbox->Height - bbox->Top <=0))
- {
- if((twin->type != AMI_TREE_SSLCERT) &&
- (twin->rmbtrapped == FALSE))
- {
-#ifdef __amigaos4__
- SetWindowAttr(twin->win, WA_RMBTrap, (APTR)(BOOL)TRUE, sizeof(BOOL));
-#endif
- twin->rmbtrapped = TRUE;
- }
- }
- else
- {
- if(twin->rmbtrapped == TRUE)
- {
-#ifdef __amigaos4__
- SetWindowAttr(twin->win, WA_RMBTrap, (APTR)(BOOL)FALSE, sizeof(BOOL));
-#endif
- twin->rmbtrapped = FALSE;
- }
- }
-
GetAttr(SCROLLER_Top, twin->objects[OID_HSCROLL], (ULONG *)&xs);
x = twin->win->MouseX - bbox->Left + xs;