mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 14:34:52 +02:00
The focus_follows_mouse option now also works across top-level kitty OS windows
Fixes #772
This commit is contained in:
@@ -218,6 +218,12 @@ cocoa_make_window_resizable(void *w, bool resizable) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
cocoa_focus_window(void *w) {
|
||||
NSWindow *window = (NSWindow*)w;
|
||||
[window makeKeyWindow];
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
cocoa_get_lang(PyObject UNUSED *self) {
|
||||
NSString* locale = nil;
|
||||
|
||||
Reference in New Issue
Block a user