jyp / boon

Ergonomic Command Mode for Emacs
GNU General Public License v3.0
323 stars 34 forks source link

boon-reset-state-for-switchw: Accept a frame as the argument #130

Closed ttuegel closed 1 year ago

ttuegel commented 1 year ago

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.

ttuegel commented 1 year ago

This still isn't enough: I get segfaults with native compilation on some machines (but not others), so I'm going back to the drawing board.