Function: set-frame-window-state-change
set-frame-window-state-change is a function defined in frame.c.
Signature
(set-frame-window-state-change &optional FRAME ARG)
Documentation
Set FRAME's window state change flag according to ARG.
Set FRAME's window state change flag if ARG is non-nil, reset it otherwise.
If FRAME's window state change flag is set, the default values of
window-state-change-functions and window-state-change-hook will be
run during next redisplay, regardless of whether a window state change
actually occurred on FRAME or not. After that, the value of FRAME's
window state change flag is reset.
Probably introduced at or before Emacs version 27.1.
Source Code
// Defined in /usr/src/emacs/src/frame.c
{
struct frame *f = decode_live_frame (frame);
return (FRAME_WINDOW_STATE_CHANGE (f) = !NILP (arg)) ? Qt : Qnil;
}