From 28cbe9193a9050d7479b12e1500dbf3a18372840 Mon Sep 17 00:00:00 2001 From: Adrian Lees Date: Sat, 16 Apr 2005 21:26:15 +0000 Subject: [project @ 2005-04-16 21:26:15 by adrianl] Ignores save drags that stay within SaveAs/download window svn path=/import/netsurf/; revision=1655 --- riscos/download.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'riscos/download.c') diff --git a/riscos/download.c b/riscos/download.c index 2aad93013..5cd8d3a1d 100644 --- a/riscos/download.c +++ b/riscos/download.c @@ -518,6 +518,9 @@ void ro_gui_download_drag_end(wimp_dragged *drag) return; } + /* ignore drags to the download window itself */ + if (pointer.w == dw->window) return; + message.your_ref = 0; message.action = message_DATA_SAVE; message.data.data_xfer.w = pointer.w; -- cgit v1.2.3