diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-30 07:54:22 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-30 07:55:13 +0000 |
commit | 3eca30bc50472c46896fc790ade9aaf0c26ac756 (patch) | |
tree | ecdb83f61ec4e099458f6a83051a846ab3496f84 /src/haikufns.c | |
parent | d8adce56a0a9169c3ad6cb6f51fc116f5ccd127c (diff) | |
download | emacs-3eca30bc50472c46896fc790ade9aaf0c26ac756.tar.gz |
Update frame positions on Haiku after changing Z group
* src/haiku_support.cc (EmacsScreenChangeMonitor): Fix comment.
* src/haikufns.c (haiku_set_z_group): Ask for a position update,
since changing the Z group might change the feel of the window.
Diffstat (limited to 'src/haikufns.c')
-rw-r--r-- | src/haikufns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/haikufns.c b/src/haikufns.c index 86173c8e867..6a79eede0e7 100644 --- a/src/haikufns.c +++ b/src/haikufns.c @@ -533,8 +533,12 @@ haiku_set_z_group (struct frame *f, Lisp_Object new_value, rc = 0; unblock_input (); + if (!rc) error ("Invalid z-group specification"); + + /* Setting the Z-group can change the frame's decorator. */ + haiku_update_after_decoration_change (f); } static void |