Fix Mac OS build

* src/nsfns.m (ns_make_frame_key_window): Restore, but
only when NS_IMPL_COCOA.
This commit is contained in:
Po Lu 2024-06-05 17:11:27 +08:00
parent 533ed7b221
commit b2ed1ed1d8

View file

@ -690,6 +690,16 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side.
SET_FRAME_GARBAGED (f);
}
#ifdef NS_IMPL_COCOA
void
ns_make_frame_key_window (struct frame *f)
{
[[FRAME_NS_VIEW (f) window] makeKeyWindow];
}
#endif /* NS_IMPL_COCOA */
/* tabbar support */
static void
ns_set_tab_bar_lines (struct frame *f, Lisp_Object value, Lisp_Object oldval)