]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
To implement focus strictly under mouse behaviour
authorapo <apo@opencascade.com>
Wed, 7 Dec 2005 14:47:56 +0000 (14:47 +0000)
committerapo <apo@opencascade.com>
Wed, 7 Dec 2005 14:47:56 +0000 (14:47 +0000)
src/SVTK/SVTK_RenderWindowInteractor.cxx

index ecf0dda1d26d65f55f337e6277ef5b182ab02f7b..aa2a9821096c781e8d3765d4f991e6bf77d468a0 100644 (file)
@@ -312,6 +312,9 @@ void
 QVTK_RenderWindowInteractor
 ::enterEvent( QEvent* event )
 {
+  setActiveWindow();
+  setFocus();
+  
   GetDevice()->EnterEvent();
 }