From a4df3f3e363a5473edb985c0f86b28533584b6a6 Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 7 Dec 2005 14:47:56 +0000 Subject: [PATCH] To implement focus strictly under mouse behaviour --- src/SVTK/SVTK_RenderWindowInteractor.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index ecf0dda1d..aa2a98210 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -312,6 +312,9 @@ void QVTK_RenderWindowInteractor ::enterEvent( QEvent* event ) { + setActiveWindow(); + setFocus(); + GetDevice()->EnterEvent(); } -- 2.39.2