From e6848a3ab056d680b5564cfa6bca372b5eebd7b9 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:13:05 +0100 Subject: [PATCH] Fix the window sizer losing focus when rapidly dragging the mouse This would lead to annoyances when trying to resize the window as the window sizer would lose focus --- code/uilib/uistatus.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/uilib/uistatus.cpp b/code/uilib/uistatus.cpp index ff05d122f..0487db8cd 100644 --- a/code/uilib/uistatus.cpp +++ b/code/uilib/uistatus.cpp @@ -35,6 +35,10 @@ UIWindowSizer::UIWindowSizer() { m_draggingwidget = NULL; m_mouseState = M_NONE; + + // Added in OPM + // So this can be made as the first responder + m_canactivate = true; }