From cc321d5f63a526aab5a93bc3269736ac14bd92f7 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 6 Jan 2013 00:21:15 +0000 Subject: Track the mouse pointer on a per-window basis --- amiga/drag.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'amiga/drag.c') 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; } -- cgit v1.2.3