From: Po Lu Date: Sat, 19 Feb 2022 12:30:26 +0000 (+0000) Subject: Fix some more hangs when parenting child frames around on Haiku X-Git-Tag: emacs-29.0.90~2233 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9fff6388b4df163990e581515892f7a09c4f728e;p=emacs.git Fix some more hangs when parenting child frames around on Haiku * src/haiku_support.cc (ParentTo): (FrameMoved): Don't sync when a recursive lock might be able to be held. --- diff --git a/src/haiku_support.cc b/src/haiku_support.cc index eb78afc6cbb..f867e775f81 100644 --- a/src/haiku_support.cc +++ b/src/haiku_support.cc @@ -582,7 +582,6 @@ public: fullscreen_p = 0; MakeFullscreen (1); } - this->Sync (); window->LinkChild (this); child_frame_lock.Unlock (); @@ -914,7 +913,6 @@ public: DoMove (f); child_frame_lock.Unlock (); - Sync (); BWindow::FrameMoved (newPosition); }