summaryrefslogtreecommitdiff
path: root/amiga/search.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-06 00:21:15 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2013-01-06 00:21:15 +0000
commitcc321d5f63a526aab5a93bc3269736ac14bd92f7 (patch)
treec5ce03447b18e6baea21d7dae155366dc9da67e0 /amiga/search.c
parent3dff750ae22185c2ee7bb6f5bc7e06d84267b9b9 (diff)
downloadnetsurf-cc321d5f63a526aab5a93bc3269736ac14bd92f7.tar.gz
netsurf-cc321d5f63a526aab5a93bc3269736ac14bd92f7.tar.bz2
Track the mouse pointer on a per-window basis
Diffstat (limited to 'amiga/search.c')
-rwxr-xr-xamiga/search.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/amiga/search.c b/amiga/search.c
index 6f8ebd414..1148f6d77 100755
--- a/amiga/search.c
+++ b/amiga/search.c
@@ -36,9 +36,10 @@
#include "amiga/os3support.h"
#include "amiga/search.h"
#include "amiga/object.h"
+#include "amiga/theme.h"
+
#include <proto/intuition.h>
#include <proto/exec.h>
-
#include <proto/window.h>
#include <proto/layout.h>
#include <proto/string.h>
@@ -277,10 +278,10 @@ void ami_search_set_status(bool found, void *p)
void ami_search_set_hourglass(bool active, void *p)
{
- SetWindowPointer(fwin->win,
- WA_BusyPointer,active,
- WA_PointerDelay,active,
- TAG_DONE);
+ if(active)
+ ami_update_pointer(fwin->win, GUI_POINTER_WAIT);
+ else
+ ami_update_pointer(fwin->win, GUI_POINTER_DEFAULT);
}
/**