diff options
-rw-r--r-- | src/window.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index df080fa41..8f97693f6 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -619,7 +619,6 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, int click_count) widget_type != WWT_CLOSEBOX) { // Don't change focused window if 'X' (close button) was clicked focused_widget_changed = true; SetFocusedWindow(w); - w->OnFocus(); } if (nw == NULL) return; // exit if clicked outside of widgets |