* 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.
previous_screen_frame = screen.Frame ();
- /* Immediately show this window upon creation. It will end up
- hidden since there are no windows in its subset. */
+ /* Immediately show this window upon creation. It will not steal
+ the focus or become visible. */
Show ();
if (!LockLooper ())
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