diff --git a/panda/src/wgldisplay/wglGraphicsWindow.cxx b/panda/src/wgldisplay/wglGraphicsWindow.cxx index dab842656e..26ec208905 100644 --- a/panda/src/wgldisplay/wglGraphicsWindow.cxx +++ b/panda/src/wgldisplay/wglGraphicsWindow.cxx @@ -1605,9 +1605,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { SET_MOUSE_COORD(x,LOWORD(lparam)); SET_MOUSE_COORD(y,HIWORD(lparam)); - if(wparam & (MK_LBUTTON | MK_MBUTTON | MK_RBUTTON)) { - handle_mouse_motion(x, y); - } + handle_mouse_motion(x, y); break; // if cursor is invisible, make it visible when moving in the window bars,etc