diff --git a/src/text_editor/plugin_window_management.cpp b/src/text_editor/plugin_window_management.cpp index 5d0cc3f..bb2640f 100644 --- a/src/text_editor/plugin_window_management.cpp +++ b/src/text_editor/plugin_window_management.cpp @@ -57,7 +57,7 @@ void CMD_FocusWindow4() { Window *third = GetOverlappingWindow(GetSideOfWindow(second, DIR_RIGHT)); if (third) { Window *fourth = GetOverlappingWindow(GetSideOfWindow(third, DIR_RIGHT)); - if (fourth) NextActiveWindowID = third->id; + if (fourth) NextActiveWindowID = fourth->id; } } }