summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 804b58909..293777b15 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -3901,13 +3901,13 @@ bool gui_window_drag_start(struct gui_window *g, gui_drag_type type,
if(type == GDRAGGING_NONE)
{
- SetWindowAttrs(gwin->win, WA_GrabFocus, 0,
+ SetWindowAttrs(g->shared->win, WA_GrabFocus, 0,
WA_MouseLimits, NULL, TAG_DONE);
- if(gwin->ptr_lock)
+ if(g->shared->ptr_lock)
{
- FreeVec(gwin->ptr_lock);
- gwin->ptr_lock = NULL;
+ FreeVec(g->shared->ptr_lock);
+ g->shared->ptr_lock = NULL;
}
}