* src/haiku_support.cc (UnlinkChild): Fix obvious mistake.
(DoMove): Lock child frame window before moving it.
{
if (last)
last->next = tem->next;
- if (tem == subset_windows)
- subset_windows = NULL;
+ else
+ subset_windows = tem->next;
delete tem;
return;
}
DoMove (struct child_frame *f)
{
BRect frame = this->Frame ();
+ if (!f->window->LockLooper ())
+ gui_abort ("Failed to lock child frame window for move");
f->window->MoveTo (frame.left + f->xoff,
frame.top + f->yoff);
- this->Sync ();
+ f->window->UnlockLooper ();
}
void