diff --git a/src/osgGA/GUIEventAdapter.cpp b/src/osgGA/GUIEventAdapter.cpp index 29d45224f..5ad47e894 100644 --- a/src/osgGA/GUIEventAdapter.cpp +++ b/src/osgGA/GUIEventAdapter.cpp @@ -79,7 +79,7 @@ void GUIEventAdapter::setWindowRectangle(int x, int y, int width, int height, bo if (updateMouseRange) { - setInputRange(x, y, x+width, y+height); + setInputRange(0, 0, width, height); } }