Fix build

svn path=/trunk/netsurf/; revision=13403
This commit is contained in:
Chris Young 2012-01-15 15:57:02 +00:00
parent 9f08a052d0
commit efa55dd3f1
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}
}