window-selection-change-functions may be called with a frame instead of a window when the selected frame has changed. In particular, this happens at startup when the initial frame is created. When compiled natively, the type mismatch (framep instead of windowp) may cause a segmentation fault.
window-selection-change-functions
may be called with a frame instead of a window when the selected frame has changed. In particular, this happens at startup when the initial frame is created. When compiled natively, the type mismatch (framep
instead ofwindowp
) may cause a segmentation fault.