From 9fff6388b4df163990e581515892f7a09c4f728e Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Sat, 19 Feb 2022 12:30:26 +0000
Subject: [PATCH] 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.
---
 src/haiku_support.cc | 2 --
 1 file changed, 2 deletions(-)

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);
   }
 
-- 
2.39.5