pub fn in_input_dispatch() -> bool
True while a gpui listener (or gpui’s own draw) has called into JS. The forced layout must not draw then: gpui took the frame’s listeners out, and focus listeners run inside Window::draw.
Window::draw