The focus_follows_mouse option now also works across top-level kitty OS windows

Fixes #772
This commit is contained in:
Kovid Goyal
2018-07-30 21:26:20 +05:30
parent 78def6e6bf
commit 9af3081f45
8 changed files with 48 additions and 8 deletions

View File

@@ -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;