mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
...
This commit is contained in:
parent
827b4b9e02
commit
bc87946a78
1 changed files with 1 additions and 1 deletions
|
|
@ -1146,7 +1146,7 @@ enter_event(int modifiers) {
|
|||
#ifdef __APPLE__
|
||||
// On cocoa there is no way to configure the window manager to
|
||||
// focus windows on mouse enter, so we do it ourselves
|
||||
if (OPT(focus_follows_mouse) && !global_state.callback_os_window->is_focused) {
|
||||
if (OPT(focus_follows_mouse).on_cross && !global_state.callback_os_window->is_focused) {
|
||||
id_type wid = global_state.callback_os_window->id;
|
||||
focus_os_window(global_state.callback_os_window, false, NULL);
|
||||
if (!global_state.callback_os_window) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue