]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix some more hangs when parenting child frames around on Haiku
authorPo Lu <luangruo@yahoo.com>
Sat, 19 Feb 2022 12:30:26 +0000 (12:30 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 19 Feb 2022 12:30:26 +0000 (12:30 +0000)
* src/haiku_support.cc (ParentTo):
(FrameMoved): Don't sync when a recursive lock might be able to
be held.

src/haiku_support.cc

index eb78afc6cbb174c0099e8732b8d07394bc14679c..f867e775f81d5c08fcc9f96a018432dcb519f68d 100644 (file)
@@ -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);
   }