diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-06 00:21:15 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-01-06 00:21:15 +0000 |
commit | cc321d5f63a526aab5a93bc3269736ac14bd92f7 (patch) | |
tree | c5ce03447b18e6baea21d7dae155366dc9da67e0 /amiga/drag.c | |
parent | 3dff750ae22185c2ee7bb6f5bc7e06d84267b9b9 (diff) | |
download | netsurf-cc321d5f63a526aab5a93bc3269736ac14bd92f7.tar.gz netsurf-cc321d5f63a526aab5a93bc3269736ac14bd92f7.tar.bz2 |
Track the mouse pointer on a per-window basis
Diffstat (limited to 'amiga/drag.c')
-rw-r--r-- | amiga/drag.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/amiga/drag.c b/amiga/drag.c index 20dbc78e3..addc4b3cf 100644 --- a/amiga/drag.c +++ b/amiga/drag.c @@ -142,7 +142,7 @@ void ami_drag_save(struct Window *win) return; } - ami_update_pointer(win, GUI_POINTER_WAIT, false); + ami_update_pointer(win, GUI_POINTER_WAIT); switch(drag_save) { @@ -189,7 +189,8 @@ void ami_drag_save(struct Window *win) drag_save = 0; drag_save_data = NULL; - ami_update_pointer(win, GUI_POINTER_DEFAULT, false); + + ami_update_pointer(win, GUI_POINTER_DEFAULT); } void ami_drag_icon_show(struct Window *win, const char *type) @@ -205,12 +206,12 @@ void ami_drag_icon_show(struct Window *win, const char *type) if(nsoption_bool(drag_save_icons) == false) { - ami_update_pointer(win, AMI_GUI_POINTER_DRAG, false); + ami_update_pointer(win, AMI_GUI_POINTER_DRAG); return; } else { - ami_update_pointer(win, GUI_POINTER_DEFAULT, false); + ami_update_pointer(win, GUI_POINTER_DEFAULT); } if(!strcmp(type, "drawer")) deftype = WBDRAWER; @@ -266,7 +267,7 @@ void ami_drag_icon_move(void) void ami_drag_icon_close(struct Window *win) { if(drag_icon) CloseWindow(drag_icon); - if(win) ami_update_pointer(win, GUI_POINTER_DEFAULT, false); + if(win) ami_update_pointer(win, GUI_POINTER_DEFAULT); drag_icon = NULL; drag_in_progress = FALSE; } |