From 7986a1b15a7aaeeba32fef2f602dd0ca50f9ac38 Mon Sep 17 00:00:00 2001 From: Roger Hughston Date: Thu, 22 Mar 2007 06:22:16 +0000 Subject: [PATCH] Change in mouse set locaion logic to pivote window focus not current location --- panda/src/windisplay/winGraphicsWindow.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/panda/src/windisplay/winGraphicsWindow.cxx b/panda/src/windisplay/winGraphicsWindow.cxx index 984556aa98..2a0b29147c 100644 --- a/panda/src/windisplay/winGraphicsWindow.cxx +++ b/panda/src/windisplay/winGraphicsWindow.cxx @@ -140,8 +140,9 @@ move_pointer(int device, int x, int y) { // Note: this is not thread-safe; it should be called only from App. // Probably not an issue. nassertr(device == 0, false); - if (!_properties.get_foreground() || - !_input_devices[0].get_pointer().get_in_window()) { + if (!_properties.get_foreground() ) +// !_input_devices[0].get_pointer().get_in_window()) + { // If the window doesn't have input focus, or the mouse isn't // currently within the window, forget it. return false;