Commit e08532b0 authored by chili's avatar chili
Browse files

remove logging

parent a8fd13a7
...@@ -246,19 +246,16 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex ...@@ -246,19 +246,16 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex
kbd.ClearState(); kbd.ClearState();
break; break;
case WM_ACTIVATE: case WM_ACTIVATE:
OutputDebugString( "activeate\n" );
// confine/free cursor on window to foreground/background if cursor disabled // confine/free cursor on window to foreground/background if cursor disabled
if( !cursorEnabled ) if( !cursorEnabled )
{ {
if( wParam & WA_ACTIVE ) if( wParam & WA_ACTIVE )
{ {
OutputDebugString( "activeate => confine\n" );
ConfineCursor(); ConfineCursor();
HideCursor(); HideCursor();
} }
else else
{ {
OutputDebugString( "activeate => free\n" );
FreeCursor(); FreeCursor();
ShowCursor(); ShowCursor();
} }
...@@ -349,7 +346,6 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex ...@@ -349,7 +346,6 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex
SetForegroundWindow( hWnd ); SetForegroundWindow( hWnd );
if( !cursorEnabled ) if( !cursorEnabled )
{ {
OutputDebugString( "lclick => recapture\n" );
ConfineCursor(); ConfineCursor();
HideCursor(); HideCursor();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment