summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-12-31 09:31:27 +0000
committerPo Lu <luangruo@yahoo.com>2021-12-31 09:31:27 +0000
commitd1fde0ab8ae53b684ff4ba858f1e270bc3ba9db6 (patch)
treeecbe1b069137190bf014466254955c1e7766b90b /src/frame.c
parentc452ffe4c28da21991f1f98007fbe1d66c7e0538 (diff)
downloademacs-d1fde0ab8ae53b684ff4ba858f1e270bc3ba9db6.tar.gz
emacs-d1fde0ab8ae53b684ff4ba858f1e270bc3ba9db6.tar.bz2
emacs-d1fde0ab8ae53b684ff4ba858f1e270bc3ba9db6.zip
Use a single global lock for the child frame state on Haiku
Each BWindows (and various system callbacks) runs in a separate thread, so there are very complicated locking semantics that used to be handled manually. This changes child frame state to use a single global lock, which makes things much easier. * src/haiku_support.cc (child_frame_lock): New variable. (class EmacsWindow): (~EmacsWindow): (Unparent): (ParentTo): (MoveChild): (FrameMoved): (EmacsHide): (EmacsShow): (GetParentWidthHeight): (OffsetChildRect): (MakeFullscreen): (SetUpDoubleBuffering): Use a single lock for controlling access to child frame state.
Diffstat (limited to 'src/frame.c')
0 files changed, 0 insertions, 0 deletions