From daf2cf59341c79bf91150b4cc91f9b20a7ba1c21 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Wed, 13 Mar 2002 23:48:54 +0000 Subject: [PATCH] alt-tab fix? --- panda/src/wgldisplay/wglGraphicsWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/wgldisplay/wglGraphicsWindow.cxx b/panda/src/wgldisplay/wglGraphicsWindow.cxx index 26ec208905..9965d52cd9 100644 --- a/panda/src/wgldisplay/wglGraphicsWindow.cxx +++ b/panda/src/wgldisplay/wglGraphicsWindow.cxx @@ -1901,7 +1901,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) { case WM_SETFOCUS: { // wgldisplay_cat.info() << "got WM_SETFOCUS\n"; - make_current(); + // make_current(); causes errors when Alt-tabbing? POINT point; GetCursorPos(&point);