]> git.eshelyaron.com Git - emacs.git/commit
Implement `above' z-group on Haiku
authorPo Lu <luangruo@yahoo.com>
Wed, 20 Apr 2022 07:37:19 +0000 (07:37 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 20 Apr 2022 07:38:47 +0000 (07:38 +0000)
commit9e48d7468aacf18beea4cac759b97d300b0b2a0a
tree06dab157828550010974a8fffc892c314cb0f9f4
parentebde448a14d44719b78b8b873a88448b73d72572
Implement `above' z-group on Haiku

* src/haiku_support.cc (class EmacsWindow): New field `z_group'.
(RecomputeFeel): New function.
(ParentTo, BWindow_set_override_redirect): Use that instead
instead of manually juggling the window feel around.
(BWindow_set_z_group): New function.

* src/haiku_support.h (enum haiku_z_group): New enum.
* src/haikufns.c (haiku_set_parent_frame): Clean up coding
style.
(haiku_set_z_group): New function.
(haiku_create_frame): Always set z group after window creation,
like on X.
(haiku_frame_parm_handlers): Add `haiku_set_z_group'.
src/haiku_support.cc
src/haiku_support.h
src/haikufns.c